#44908 [Opn->Fbk]: stream_select on pipes returned by proc_open returns streams that are not ready
| From: | lbarnaud@php.net | Date: | Tue, 25 Nov 2008 03:57:58 +0000 |
| Subject: | #44908 [Opn->Fbk]: stream_select on pipes returned by proc_open returns streams that are not ready | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-131285@lists.php.net to get a copy of this message | ||
ID: 44908
Updated by: lbarnaud@php.net
Reported By: mike at silverorange dot com
-Status: Open
+Status: Feedback
Bug Type: Streams related
Operating System: *
PHP Version: 5.2CVS-2008-09-08
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.3-latest.tar.gz
For Windows:
http://windows.php.net/snapshots/
Previous Comments:
------------------------------------------------------------------------
[2008-09-08 14:51:00] gauthierm@php.net
Jani,
I tried the posted development snapshot and the test still fails. The
stream_select() call still returns stdout and stderr streams in the
read array and reading from either will block indefinitely (because
they're not ready).
Please reopen this bug.
------------------------------------------------------------------------
[2008-05-27 15:51:00] ciocan at gmail dot com
Sorry i forgot to mention that for me it happens in Linux: CentOS 5,
php 5.2.6 (and also tried on CentoOS 5, php 5.2.1)
Thank you,
Pavel
------------------------------------------------------------------------
[2008-05-27 15:46:52] pciocan at gmail dot com
I encountered the same problem with stream_select but when using named
pipes (created with posix_mkfifo and opened using fopen). Is there a
workaround for this problem?
Thank you,
Pavel
------------------------------------------------------------------------
[2008-05-04 23:31:35] mike at silverorange dot com
Jani,
I'm using the MSI install of PHP 5.2.6 (cli) (built Apr 30 2008
16:19:00) on Windows XP Home with Service Pack 2.
------------------------------------------------------------------------
[2008-05-04 21:50:20] jani@php.net
Please check the used PHP version. (phpinfo(); usually is the best way)
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/44908
--
Edit this bug report at http://bugs.php.net/?id=44908&edit=1