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: Todd Heberlein <email@hidden>
- Date: Thu, 04 Jun 2009 08:40:35 -0700
I have written an application that I would like to launch whenever a
certain app is launched. I have used LaunchAgents in the past to
detect events such as USB insertion and volume mounting to perform
certain actions. I was wondering if there was a launchd.plist key
that allowed for launchd to detect an application startup.
One approach is to have an agent monitor the audit trail to look for
the application starting. The agent can then do something that can
cause your app to launch, but now you are introducing a third program
into the mix.
Todd
_______________________________________________
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