• 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: 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.
References: 
 >AuthorizationExecuteWithPrivileges leaving zombie processes! Help? (From: "Huyler, Christopher M" <email@hidden>)

  • Prev by Date: Re: AuthorizationExecuteWithPrivileges leaving zombie processes! Help?
  • Next by Date: Re: AuthorizationExecuteWithPrivileges leaving zombie processes! Help?
  • Previous by thread: AuthorizationExecuteWithPrivileges leaving zombie processes! Help?
  • Next by thread: Using Set-user-id bit for CVS directories
  • Index(es):
    • Date
    • Thread