note 31613 rejected from function.proc-open by didou
| From: | didou@php.net | Date: | Sun, 18 May 2003 04:51:48 +0000 |
| Subject: | note 31613 rejected from function.proc-open by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-48436@lists.php.net to get a copy of this message | ||
Note Submitter: MatrixMan2003@yahoo.com
----
short question:
Has someone an idea of how to redirect stderr to stdout in the descriptorspec?
like:
$descriptorspec = array(
0 => array("pipe", "rb"),
1 => array("pipe", "wb"),
2 => 1 //link stderr to stdout....doesn't work...
);
would be better than adding "2>&1" to the program execution string....
thanks....
MatrixMan