Re: Who's launching me?
Re: Who's launching me?
- Subject: Re: Who's launching me?
- From: Finlay Dobbie <email@hidden>
- Date: Mon, 13 Feb 2006 00:07:12 +0000
On 2/12/06, John C. Randolph <email@hidden> wrote:
>
> On Feb 12, 2006, at 2:09 PM, Paul J. Lucas wrote:
>
> > Is there any way for an application to know what other
> > application launched it?
>
> Check the UNIX manual pages for getpid() and getppid().
Applications launched via Launch Services are all children of the
window server, so that won't work.
-- Finlay
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden