Re: socko2: kill process by name
Re: socko2: kill process by name
- Subject: Re: socko2: kill process by name
- From: Finlay Dobbie <email@hidden>
- Date: Wed, 6 Feb 2002 21:10:34 +0000
On Wednesday, February 6, 2002, at 08:39 PM, socko wrote:
i see that NSTask allows the opening (and termination) of a subprocess,
but don't we first need to know how to id the process? in my case, i
want
to terminate a process that is already running.
am i missing something?
He told you how to get the pid of the process using the terminal. If you
want to get it programmatically, man 3 sysctl, and to terminate it, man
2 kill.
-- Finlay
_______________________________________________
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.