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

How Do I kill a process from Cocoa?


  • Subject: How Do I kill a process from Cocoa?
  • From: "Huyler, Christopher M" <email@hidden>
  • Date: Wed, 10 Dec 2003 09:43:19 -0500
  • Thread-topic: How Do I kill a process from Cocoa?

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?

The reason I ask is because I noticed that if I quit the System
Preferences Application, the process created by my PrefPane is killed
before it can finish. I want to make a "Please Wait" dialog that waits
for the process to end but also has a 'cancel' button to stop the
process from continuing.

Is this possible with a process created by
AuthorizationExecuteWithPrivileges?

--
Christopher Huyler
Computer Associates Intl.
mailto:email@hidden
_______________________________________________
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: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: Issues with multithreaded drawing in Cocoa?
  • Next by Date: reading XML in Cocoa ?
  • Previous by thread: [SOLVED]: My NSQuicktimeView shows up.. once... D'oh!
  • Next by thread: Re: How Do I kill a process from Cocoa?
  • Index(es):
    • Date
    • Thread