Re: [PHP] exec return values

2008-04-04 Thread Daniel Brown
On Fri, Apr 4, 2008 at 11:34 AM, Philip Thompson <[EMAIL PROTECTED]> wrote: > Is there a set list of return values/error codes returned by exec? I am > running this command on a windows box and getting the following error: > > exec ("net use /delete i: /y", $output, $ret); > print_r ($output);

[PHP] exec return values

2008-04-04 Thread Philip Thompson
Is there a set list of return values/error codes returned by exec? I am running this command on a windows box and getting the following error: exec ("net use /delete i: /y", $output, $ret); print_r ($output);// Array() echo "Return: $ret"; // Return: 2 I tested this statement with the m