• 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: Get parent process (Carbon question)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Get parent process (Carbon question)


  • Subject: Re: Get parent process (Carbon question)
  • From: Ondra Cada <email@hidden>
  • Date: Sat, 7 Sep 2002 00:22:46 +0200

On Friday, September 6, 2002, at 11:16 , Renaud Boisjoly wrote:

I was looking for a way to get the process id and then figure out the name of the process... but I nopw realise I do not knowhow to do this, apart from executing a ps command and parsing it out

in my personal opinion launching&parsing

ps -cp <pid> -o command

is the simplest way to do that.
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
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: Get parent process (Carbon question)
      • From: Hasan Diwan <email@hidden>
References: 
 >Re: Get parent process (Carbon question) (From: Renaud Boisjoly <email@hidden>)

  • Prev by Date: Re: Launching an App without NSWorkspace?
  • Next by Date: Re: Issue with NSPrintInfo values being weird...
  • Previous by thread: Re: Get parent process (Carbon question)
  • Next by thread: Re: Get parent process (Carbon question)
  • Index(es):
    • Date
    • Thread