[launchd-dev] Configurion a Cocoa app as a user agent

Quinn eskimo1 at apple.com
Mon Dec 10 01:18:41 PST 2007


At 9:38 -0700 9/12/07, James Bucanek wrote:
>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?

It has to point to the executable on disk; the bundle will not work.

>I ask because I've been warned by the Cocoa engineers to avoid 
>starting applications that way.

Really?  Any explanation as to why?

S+E
-- 
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware


More information about the launchd-dev mailing list