#45510 [Opn->Csd]: proc_open has great hidden features
| From: | lbarnaud@php.net | Date: | Mon, 27 Oct 2008 12:54:50 +0000 |
| Subject: | #45510 [Opn->Csd]: proc_open has great hidden features | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-1258@lists.php.net to get a copy of this message | ||
ID: 45510
Updated by: lbarnaud@php.net
Reported By: arnaud dot lb at gmail dot com
-Status: Open
+Status: Closed
Bug Type: Documentation problem
PHP Version: Irrelevant
Previous Comments:
------------------------------------------------------------------------
[2008-07-14 14:11:38] arnaud dot lb at gmail dot com
Description:
------------
The documentation on proc_open about the $descriptorspec argument seems
incomplete: "The currently supported pipe types are file and pipe."
Actually the descriptors can not only be pipes of files, but also any
resource or a pty:
$descriptorspec = array(
0 => stream_socket_server("unix://mysocket"),
1 => array("pty", "w"),
2 => STDERR,
);
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=45510&edit=1