Re: Detecting if application is running as Finder
Re: Detecting if application is running as Finder
- Subject: Re: Detecting if application is running as Finder
- From: Greg Guerin <email@hidden>
- Date: Fri, 9 Oct 2009 13:04:54 -0700
Mike Joseph wrote:
I know that launchd pays special attention to the application it
considers
to be Finder since it will restart it when it exits, etc. So clearly
launchd knows the PID/PSN of "Finder". Surely there's some way to
ask for
it, but I can't figure out how.
Since launchd is controlled by launchctl, my first guess would be to
read the man page for launchctl.
-- GG
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden