Re: How Do I kill a process from Cocoa?
Re: How Do I kill a process from Cocoa?
- Subject: Re: How Do I kill a process from Cocoa?
- From: p3consulting <email@hidden>
- Date: Thu, 11 Dec 2003 07:44:22 +0100
If you are the one writing the tool running at root privilege,
you can imagine an interprocess communication mechanism that enable
the process
launching the privileged task to ask it to gracefully quit... (a pipe,
a Mach port, a DO communication, whatever)
Pascal Pochet
P3 Consulting
email@hidden
On 10 dic. 2003, at 22:11, Nick Zitzmann wrote:
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.
_______________________________________________
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.