We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99f9d7d commit a628505Copy full SHA for a628505
src/Command.php
@@ -315,8 +315,9 @@ public function execute()
315
316
if (is_resource($process)) {
317
318
- $this->_stdOut = stream_get_contents($pipes[1]);
+ // Issue #20: Read stderr before stdout to avoid hanging processes
319
$this->_stdErr = stream_get_contents($pipes[2]);
320
+ $this->_stdOut = stream_get_contents($pipes[1]);
321
fclose($pipes[1]);
322
fclose($pipes[2]);
323
0 commit comments