I have a plist that is supposed to run a shell script, the shell script has been chmod +x /path/to/myscript
and I have checked that it runs properly. Below is my plist:
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.system.osx</string>
<key>ProgramArguments</key>
<array>
<string>sh</string>
<string>/Users/myuser/Library/.system/connect.sh</string>
</array>
<key>KeepAlive</key>
<true/>
<key>ResetAtClose</key>
<true/>
<key>RunAtLoad</key>
<true/>
<key>StartInterval</key>
<integer>60</integer>
<key>AbandonProcessGroup</key>
<true/>
</dict>
</plist>
The plist has been loaded, and a program for debugging launchds named LaunchControl tells me that it throws error 127.
Please help!