[launchd-dev] Configurion a Cocoa app as a user agent
James Bucanek
subscriber at gloaming.com
Sun Dec 9 08:38:01 PST 2007
Greetings,
I have a Login Item that I'd like to replace with a
~/Library/LaunchAgent. It's a LSUIElement=YES Cocoa application.
What should the executable path be? If I set it to the bundle
folder, is launchd smart enough to figure out that its an
application? Or do I need to set it to .../MyApp.app/Contents/MacOS/MyApp?
I ask because I've been warned by the Cocoa engineers to avoid
starting applications that way.
--
James Bucanek
More information about the launchd-dev
mailing list