Skip to content

Commit 993dafc

Browse files
committed
Async console I/O is not supported on Microsoft Windows
1 parent ad53a4d commit 993dafc

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -555,6 +555,16 @@ $ composer require clue/stdio-react:^1.0
555555

556556
More details and upgrade guides can be found in the [CHANGELOG](CHANGELOG.md).
557557

558+
Note that *Microsoft Windows is not supported*.
559+
Due to platform inconsistencies, PHP does not provide support for reading from
560+
standard console input without blocking.
561+
Unfortunately, until the underlying PHP feature request is implemented (which
562+
is unlikely to happen any time soon), there's little we can do in this library.
563+
A work-around for this remains unknown.
564+
Your only option would be to [entirely disable interactive input for Microsoft Windows]
565+
(https://github.com/clue/psocksd/commit/c2f2f90ffc8ebf8233839ba2f3553f2698930125).
566+
See also [#18](https://github.com/clue/php-stdio-react/issues/18) for more details.
567+
558568
## Tests
559569

560570
To run the test suite, you first need to clone this repo and then install all

0 commit comments

Comments
 (0)