• 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: Agent Applications and launchd
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Agent Applications and launchd


  • Subject: Re: Agent Applications and launchd
  • From: Joachim <email@hidden>
  • Date: Tue, 27 Dec 2005 12:18:13 -0800

Keith Alperin wrote:

I have an agent application (ie, an app that runs in the background and has LSUIElement set to 0 via the apps info.plist). This app is started, stopped and otherwise controlled via a preference pane. I would like to use launchd to start the agent app whenever i log in. Using the excellent Lingon (http://lingon.sourceforge.net/) I tried to create a simple launch agent. Unfortunately, I'm not sure what command i'm supposed to use to start my agent app. I tried using the "open" command but that does not work. I also tried just entering the path the executable as my command but that also does not work.

Does anyone know how I can start this agent app via launchd?

If you're having an agent (as opposed to a daemon), you probably want to register a login item. See http://developer.apple.com/ documentation/MacOSX/Conceptual/BPSystemStartup/Articles/ CustomLogin.html#//apple_ref/doc/uid/20002134 for info on doing this as well as the difference between agents and daemons.

Joachim

P.S. Sorry for not replying directly to your email and/or thread, but I'm only subscribing to the RSS feed because I never thought I would be able to answer anybody's questions on this list.
_______________________________________________
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
  • Follow-Ups:
    • Re: Agent Applications and launchd
      • From: Jerry Krinock <email@hidden>
  • Prev by Date: Re: NSObjectController: can't populate all elements of NSMutableDictionary in File's Owner (part deux)
  • Next by Date: Re: NSObjectController: can't populate all elements of NSMutableDictionary in File's Owner (part deux)
  • Previous by thread: Re: Agent Applications and launchd
  • Next by thread: Re: Agent Applications and launchd
  • Index(es):
    • Date
    • Thread