Re: launchd detecting when an application is running
Re: launchd detecting when an application is running
- Subject: Re: launchd detecting when an application is running
- From: Kyle Sluder <email@hidden>
- Date: Wed, 3 Jun 2009 22:30:04 -0700
On Wed, Jun 3, 2009 at 8:44 PM, Tom Hohensee <email@hidden> wrote:
> I was
> wondering if there was a launchd.plist key that allowed for launchd to
> detect an application startup.
launchd is explicitly designed not to have this functionality. All
inter-application dependencies must be carried out through some IPC
mechanism. Taken from launchd.plist(5):
> Unlike many bootstrapping daemons, launchd has no explicit dependency
> model. Interdependencies are expected to be solved through the use of
> IPC. It is therefore in the best interest of a job developer who expects
> dependents to define all of the sockets in the configuration file. This
> has the added benefit of making it possible to start the job based on
> demand instead of immediately.
--Kyle Sluder
_______________________________________________
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