Bug #34972 [Com]: STDIN won't allow nonblocking.
| From: | jan dot bouvrie at gmail dot com | Date: | Tue, 19 Apr 2016 15:27:46 +0000 |
| Subject: | Bug #34972 [Com]: STDIN won't allow nonblocking. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-200652@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=34972&edit=1
ID: 34972
Comment by: jan dot bouvrie at gmail dot com
Reported by: VJTD3 at VJTD3 dot com
Summary: STDIN won't allow nonblocking.
Status: Assigned
Type: Bug
Package: Streams related
Operating System: win32 only
PHP Version: 5.2CVS-2008-07-15
Assigned To: pajoye
Block user comment: N
Private report: N
New Comment:
Ignore my last comment, posted with the wrong bug. Dupes can be confusing. :)
Previous Comments:
------------------------------------------------------------------------
[2016-04-19 15:24:33] jan dot bouvrie at gmail dot com
I'm also in the parallel processes boat, still no movement on this? Tested it again on 5.6.20,
but no luck.
Perhaps related, my code running on Windows uses stream_select() on proc_open() file descriptors,
even though the manual states: "Use of stream_select() on file descriptors returned by
proc_open() will fail and return FALSE under Windows."
For kicks I tested the same code on Windows/PHP 7.0.5, and indeed the stream_select() returns FALSE
there, just like the manual states.
------------------------------------------------------------------------
[2015-02-27 07:16:13] jwbecher at gmail dot com
Is there any movement on this? Looks to be 10 years old, and last comment was 2011.
------------------------------------------------------------------------
[2011-07-14 02:32:45] Dygear at gmail dot com
Yeah, I second the placing of a bounty on this problem, I'd also be more then
willing to chip in to have this thing fixed as this still effects the usefulness
of my software on the daily basis.
------------------------------------------------------------------------
[2011-07-14 02:22:02] jchan at icebrg dot us
Please fix this. Interactive console applications written in PHP are impossible
without a committed fix for this SIX YEARS old bug!
I use PHP for consistency across development environments, but this bug is making
it impossible.
If a bounty can be placed, I'd like to place one! (Please show me a form)
Thanks!
------------------------------------------------------------------------
[2011-07-13 21:20:18] hans+php at hansdude dot com
I have a use case affected by this bug that others do not mention: parallel processing.
There is no way to spawn a bunch of processes and babysit them until they're done while still
capturing output.
While the previous comment makes valid points, I hope someone will still try to find a solution to
this.
------------------------------------------------------------------------
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
https://bugs.php.net/bug.php?id=34972
--
Edit this bug report at https://bugs.php.net/bug.php?id=34972&edit=1