note 31613 added to function.proc-open
| From: | MatrixMan2003 at yahoo dot com | Date: | Mon, 28 Apr 2003 08:21:42 +0000 |
| Subject: | note 31613 added to function.proc-open | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-47194@lists.php.net to get a copy of this message | ||
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
--
http://www.php.net/manual/en/function.proc-open.php
http://master.php.net/manage/user-notes.php?action=edit+31613
http://master.php.net/manage/user-notes.php?action=delete+31613
http://master.php.net/manage/user-notes.php?action=reject+31613