• 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
Issue with RootDirectory key in launchd plist file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Issue with RootDirectory key in launchd plist file


  • Subject: Issue with RootDirectory key in launchd plist file
  • From: Sudheer dantuluri <email@hidden>
  • Date: Mon, 24 Sep 2007 12:45:38 +0530

Hi All ,

I'm facing a problem with RootDirectory key in launchd plist file.
It's working fine on PPC , but giving exceptions on Intel Mac .

Here is the exception that I'm getting on intel mac.

12:37 PM
Sep 24 11:17:31 launchd[15822]: com.apple.TestLaunchd: execve(): No such file or directory
Sep 24 11:17:31 launchd[15823]: com.apple.TestLaunchd: execvp ("TestLaunchd", ...): No such file or directory


Below is the 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>com.apple.TestLaunchd</string>
<key>OnDemand</key>
<true/>
<key>ProgramArguments</key>
<array>
<string>TestLaunchd</string>
</array>
<key>RootDirectory</key>
<string>~/</string>
<key>RunAtLoad</key>
<true/>
<key>StartInterval</key>
<integer>30</integer>
</dict>
</plist>


Removing the RootDirectory key and giving the complete path in the ProgramArguments key is working fine.

can anyone help me out in this issue ...

Thanks in Advance
Sudheer.




_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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: Issue with RootDirectory key in launchd plist file
      • From: Andrew Farmer <email@hidden>
  • Prev by Date: Re: NSMutableArray + NSEnumerator = No Memory
  • Next by Date: Re: Sort a NSArrayController using case-insensitive compare, possible ?
  • Previous by thread: Re: Sort a NSArrayController using case-insensitive compare, possible ?
  • Next by thread: Re: Issue with RootDirectory key in launchd plist file
  • Index(es):
    • Date
    • Thread