• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AuthorizationExecuteWithPrivileges leaving zombie processes! Help?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: AuthorizationExecuteWithPrivileges leaving zombie processes! Help? (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: AuthorizationExecuteWithPrivileges leaving zombie processes! Help?
  • Next by Date: Re: NSView subclass, contextual menu, mouse click...
  • Previous by thread: Re: AuthorizationExecuteWithPrivileges leaving zombie processes! Help?
  • Next by thread: Re: NSView subclass, contextual menu, mouse click...
  • Index(es):
    • Date
    • Thread