|
Posted by Acrobatic on 11/20/06 21:02
Hello
Thanks very much for the response--I was unaware of the 2>&1 option and
it's really helped me debug this thing. It was a permissions issue, but
I wasn't able to figure that out without your help--thanks again
Jeff
petersprc wrote:
> Hi,
>
> Maybe stderr has additional info? Maybe this can get more info:
>
> exec('/dir/to/file/convert.pl 2>&1', $output, $exitCode);
>
> if ($exitCode != 0) {
> trigger_error("Command failed with exit code $exitCode: \"" .
> join("\n", $output) . "\".");
> }
Navigation:
[Reply to this message]
|