How Do I kill a process from Cocoa?
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.