• 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: How Do I kill a process from Cocoa?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How Do I kill a process from Cocoa?


  • Subject: Re: How Do I kill a process from Cocoa?
  • From: Nick Zitzmann <email@hidden>
  • Date: Wed, 10 Dec 2003 13:11:03 -0800

On Dec 10, 2003, at 6:43 AM, Huyler, Christopher M wrote:

If I create a process by using AuthorizationExecuteWithPrivileges and
something goes wrong, how can I kill the process and any processes
spawned by it from a Cocoa Preference Panel?

Run "kill" using AuthorizationExecuteWithPrivileges()? The problem with launching tasks using AEWP() is the task then needs root privileges to bring them down.

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.
  • Follow-Ups:
    • Re: How Do I kill a process from Cocoa?
      • From: p3consulting <email@hidden>
References: 
 >How Do I kill a process from Cocoa? (From: "Huyler, Christopher M" <email@hidden>)

  • Prev by Date: Re: Freelance apple developers
  • Next by Date: Re: AuthorizationExecuteWithPrivileges leaving zombie processes! Help?
  • Previous by thread: How Do I kill a process from Cocoa?
  • Next by thread: Re: How Do I kill a process from Cocoa?
  • Index(es):
    • Date
    • Thread