FG
💻 Software

launchd gives me " No such file or directory" error

Fresh5 days ago
Mar 15, 20264839 views
Confidence Score0%
0%

Problem

my .plist looks like below ... In /var/log.system.log I can see but if I run the script works fine. Any idea?

Error Output

(com.example.exampled[24728]): posix_spawn("/usr/local/bin/ruby /Users/radek/Sites/sinatrasvn/web.rb", ...): No such file or directory
(com.example.e…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: launchd gives me " No such file or directory" error

Low Risk

doesn't use the shell to run programs; it uses the system call. This is why the plist you have above uses an array. You are setting a single element of that array to a string containing a space, which leads to attempt to — which, sure enough, is not…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment