Additional argument to exec family

From: Date: Fri, 30 Nov 2001 11:34:43 +0000
Subject: Additional argument to exec family
Groups: php.dev 
Request: Send a blank email to php-dev+get-72126@lists.php.net to get a copy of this message
I've spent 2 hour to find where is the problem and evetually I found that I had to redirect the std_err stream to std_out to view why a command executed by exec() breaks(to view the error). Is it possible someone to add 2 aditional parameters to exec() so in case the error_code which is returned and !=0 to read from std_err and pass all data to the second additional parameterstring exec (string command, string [array] [, int return_var,[ bool use_std_err, string [array] std_err_output ]); Regards Andrey Hristov

« previous php.dev (#72126) next »