I have an exec() command on my code which runs an applescript from the desktop
$cmd = "osascript /Users/***/Desktop/script.app";
exec($cmd, $output);
print_r($output);
On one computer it runs without errors, on the second computer it returns an empty array. They are exactly at the same directory, except the username which I change it to the correct one. I also checked the file permissions.
I would appreciate it if someone could shed some light on this one.