• 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: launchd detecting when an application is running
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >launchd detecting when an application is running (From: Tom Hohensee <email@hidden>)
 >Re: launchd detecting when an application is running (From: Dave Keck <email@hidden>)
 >Re: launchd detecting when an application is running (From: Tom Hohensee <email@hidden>)

  • Prev by Date: Re: QTCaptureSession class reference
  • Next by Date: Re: Detecting when fetch: finishes
  • Previous by thread: Re: launchd detecting when an application is running
  • Next by thread: Re: launchd detecting when an application is running
  • Index(es):
    • Date
    • Thread