Re: AuthorizationExecuteWithPrivileges leaving zombie processes! Help?
Re: AuthorizationExecuteWithPrivileges leaving zombie processes! Help?
- Subject: Re: AuthorizationExecuteWithPrivileges leaving zombie processes! Help?
- From: Nick Zitzmann <email@hidden>
- Date: Wed, 10 Dec 2003 13:14:58 -0800
On Dec 10, 2003, at 11:34 AM, Huyler, Christopher M wrote:
I created a Preference Pane. Then I created a tool to do some actions
that required root access. However, every time that my PrefPane
launches the tool using AuthorizationExecuteWithPrivileges, it leaves
behind a zombie process when the tool exits.
This is because you need to reap the zombie task & get its return code
by calling wait(). See the man page for wait() for details.
Nick Zitzmann
<
http://seiryu.home.comcast.net/>
S/MIME signature available upon request
"That's a funny thing to promise. Well, you can't never let anything
happen to him [Nemo]; then, nothing would ever happen to him." - Dory,
from the movie "Finding Nemo"
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.