Re: AuthorizationExecuteWithPrivileges, night of the living dead
Re: AuthorizationExecuteWithPrivileges, night of the living dead
- Subject: Re: AuthorizationExecuteWithPrivileges, night of the living dead
- From: Nick Zitzmann <email@hidden>
- Date: Fri, 2 Apr 2004 07:55:24 -0700
On Apr 2, 2004, at 7:22 AM, Jerry LeVan wrote:
I just noticed that AuthorizationExecuteWithPrivileges creates
zombies...
Correct. When you run a task with AEWP(), the task is run
asynchronously and it doesn't "reap" the child task when it's done. So
you have to manually call wait() to reap each child task. This will
also give you their termination status; see the wait() man page for
details.
Nick Zitzmann
<
http://www.chronosnet.com/>
_______________________________________________
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.