Conversation
| does work on [`Windows Subsystem for Linux`](https://en.wikipedia.org/wiki/Windows_Subsystem_for_Linux) | ||
| Due to the blocking nature of `STDIN`/`STDOUT`/`STDERR` pipes on Windows we can | ||
| not guarantee this package works as expected on Windows directly. As such when | ||
| instantiating `Process` it throws an exception when on Windows directly. |
| public function __construct($cmd, $cwd = null, array $env = null, array $options = array()) | ||
| { | ||
| if (substr(strtolower(PHP_OS), 0, 3) === 'win') { | ||
| throw new \LogicException('Windows isn\'t supported.'); |
jsor approved these changes Aug 10, 2017
| public function __construct($cmd, $cwd = null, array $env = null, array $options = array()) | ||
| { | ||
| if (substr(strtolower(PHP_OS), 0, 3) === 'win') { | ||
| throw new \LogicException('Windows isn\'t supported due to the blocking nature of STDIN/STDOUT/STDERR pipes.'); |
clue approved these changes Aug 12, 2017
clue
mentioned this pull request
Closed