• 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: socko2: kill process by name
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: socko2: kill process by name (From: socko <email@hidden>)

  • Prev by Date: Re: NSAffineTransform
  • Next by Date: Re: Speed of Quartz (was: optimizing compilers)
  • Previous by thread: Re: socko2: kill process by name
  • Next by thread: Re: socko2: kill process by name
  • Index(es):
    • Date
    • Thread