#45510 [NEW]: proc_open has great hidden features
| From: | arnaud dot lb at gmail dot com | Date: | Mon, 14 Jul 2008 14:11:39 +0000 |
| Subject: | #45510 [NEW]: proc_open has great hidden features | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-947@lists.php.net to get a copy of this message | ||
From: arnaud dot lb at gmail dot com
Operating system:
PHP version: Irrelevant
PHP Bug Type: Documentation problem
Bug description: proc_open has great hidden features
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 bug report at http://bugs.php.net/?id=45510&edit=1
--
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=45510&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=45510&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=45510&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=45510&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=45510&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=45510&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=45510&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=45510&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=45510&r=support
Expected behavior: http://bugs.php.net/fix.php?id=45510&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=45510&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=45510&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=45510&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=45510&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=45510&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=45510&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=45510&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=45510&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=45510&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=45510&r=mysqlcfg