• 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: launchctl - no response
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: launchctl - no response


  • Subject: Re: launchctl - no response
  • From: Paul Kim <email@hidden>
  • Date: Mon, 26 Feb 2007 21:36:11 -0500

I believe it's because you are specifying the app wrapper which to launchd is just a directory. You need to specify the executable within it (...Contents/MacOS/LittleShoot).


Paul Kim ------------------------------------ Chief Noodler - Noodlesoft email@hidden http://www.noodlesoft.com



On Feb 26, 2007, at 9:14 PM, Adam Fisk wrote:

Hi Everyone-

launchctl is giving me headaches, and I'm hoping someone can lend a hand. I
have the following plist file:


<?xml version="1.0" encoding="UTF-8"?>
       <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
               "http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
       <plist version="1.0">
       <dict>
               <key>Label</key>
               <string>org.lastbamboo.littleshoot</string>
               <key>ProgramArguments</key>
               <array>

<string>/Users/afisk/Applications/LittleShoot.app</string>
               </array>
               <key>RunAtLoad</key>
               <true/>
       </dict>
       </plist>

Here's my console output when I try to run it:

252:~/Library/LaunchAgents afisk$ launchctl load
org.lastbamboo.littleshoot.plist
252:~/Library/LaunchAgents afisk$ launchctl list

The process is nowhere to be found, and launchctl list doesn't return it.
It also doesn't start on restart, and -F doesn't help.


If I manually call "open LittleShoot.app", that works fine, but launchctl
won't launch it.


Any thoughts on how I can even start to debug this? I'm at a bit of a loss.

Thanks very much.

-Adam
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:
40noodlesoft.com


This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


  • Follow-Ups:
    • Re: launchctl - no response
      • From: "Adam Fisk" <email@hidden>
References: 
 >launchctl - no response (From: "Adam Fisk" <email@hidden>)

  • Prev by Date: Create a nsimage from the nsbitmapimagerep
  • Next by Date: Re: NSTask with admin power
  • Previous by thread: launchctl - no response
  • Next by thread: Re: launchctl - no response
  • Index(es):
    • Date
    • Thread