Skip to content

Commit

Permalink
Revert "Issue #20 Read stderr before stdout to avoid hanging processes"
Browse files Browse the repository at this point in the history
This reverts commit a628505.
  • Loading branch information
mikehaertl committed Feb 9, 2017
1 parent a628505 commit b0c0bf3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -315,9 +315,8 @@ public function execute()

if (is_resource($process)) {

// Issue #20: Read stderr before stdout to avoid hanging processes
$this->_stdErr = stream_get_contents($pipes[2]);
$this->_stdOut = stream_get_contents($pipes[1]);
$this->_stdErr = stream_get_contents($pipes[2]);
fclose($pipes[1]);
fclose($pipes[2]);

Expand Down

0 comments on commit b0c0bf3

Please sign in to comment.