[launchd-dev] launch cocoa-app (with gui) from launchd

Dave Zarzycki zarzycki at apple.com
Tue Dec 11 13:07:18 PST 2007


And what command line arguments are you using?

On Dec 11, 2007, at 12:52 PM, Kevin Van Vechten wrote:

> Are you sure you're loading the job with the per-user launchd?   
> Which directory is the launchd plist installed in?
>
> - Kevin
>
> On Dec 10, 2007, at 5:46 PM, bob kells wrote:
>
>> I have been unsuccessful so far attempting to launch an xcode cocoa  
>> app
>> from launchd.  I have tried loading 2 different versions of a plist  
>> that
>> reference either
>> the executable, or the .app bundle.  Neither works.  I noticed a  
>> prior
>> listing explaining
>> that the actual exe must be referenced, not the .app bundle.  ps  
>> shows that
>> the process actually gets
>> created both ways.  However, nothing appears.  I am able to launch  
>> the app
>> successfully from a
>> script file and the cmd-line.  But when the script file (which  
>> launches the
>> app) is run
>> via launchd, again nothing happens.  I am using WatchPaths, and the  
>> Program
>> key has been set
>> to either the executable, or the .app bundle.  Any suggestions out  
>> there?
>> thanks...bob
>
> _______________________________________________
> launchd-dev mailing list
> launchd-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/launchd-dev



More information about the launchd-dev mailing list