Re: AuthorizationExecuteWithPrivileges leaving zombie processes! Help?
Re: AuthorizationExecuteWithPrivileges leaving zombie processes! Help?
- Subject: Re: AuthorizationExecuteWithPrivileges leaving zombie processes! Help?
- From: Chris Hanson <email@hidden>
- Date: Wed, 10 Dec 2003 15:58:56 -0600
On Dec 10, 2003, at 3:30 PM, Nick Zitzmann wrote:
On Dec 10, 2003, at 1:21 PM, Huyler, Christopher M wrote:
Is there an easy way to get the pid of a AEWP() process w/o waiting
for
it to complete?
AFAIK, the only way to do this is to use sysctl() to scan the list of
processes, and look for a matching process.
You can also have the process report its pid back to you via the pipe
that you're using to communicate with it.
Everybody *is* following the AuthSample/MoreAuthSample example code
when they use AEWP, right?
-- Chris
--
Chris Hanson <email@hidden>
bDistributed.com, Inc.
Outsourcing Vendor Evaluation
Custom Mac OS X Development
Cocoa Developer Training
_______________________________________________
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.