i tested it with following
Code: Select all
exec($command, $out, $retval); pa($out); pa($retval);

I dont have access to any log-file.
With that i get only 0 (success ?) and 1 (failed ?)
Code: Select all
exec($command, $out, $retval); pa($out); pa($retval);