Issue with RootDirectory key in launchd plist file
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