Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a note about windows compatibility to the readme #41

Merged

Conversation

WyriHaximus
Copy link
Member

Due to changes in react/stream we cannot guarantee native windows anymore. Added a note about it in the readme.

README.md Outdated
@@ -219,6 +220,14 @@ of the actual exit code.
**Note:** This functionality was taken from Symfony's
[Process](https://github.com/symfony/process) compoment.

### Windows Compatibility

Due to the blocking nature of `STDIN`/`STDOUT`/`STDERR` pipes on windows we cannot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uhm, shouldn't that be does not work on Windows? IIRC stream does error out if it can't set the stream to non-blocking.

@kelunik
Copy link

kelunik commented Jul 10, 2017

My note is hidden, but didn't get an answer.

Uhm, shouldn't that be does not work on Windows? IIRC stream does error out if it can't set the stream to non-blocking.

@WyriHaximus
Copy link
Member Author

@kelunik not on Windows, it won't error out and just stay blocking making everything hang 😞 . I'm preparing another PR that would make running on Windows a bit more feasible.

@kelunik
Copy link

kelunik commented Jul 10, 2017

@WyriHaximus
Copy link
Member Author

@kelunik still seen it not error out while the stream blocks on an OS level while PHP sees it as blocking and there is nothing we can do about it. Also this wording suites the fact better that it does run on Windows when using WSL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants