Skip to content

Commit

Permalink
Removed redundant unblocking of getOutput
Browse files Browse the repository at this point in the history
  • Loading branch information
sushilkg committed Sep 4, 2018
1 parent 76fce1b commit e86580a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Helper/Shell.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ public function getState()

public function getOutput()
{
\stream_set_blocking($this->pipes[self::STDOUT_DESCRIPTOR_KEY], 0);
return \stream_get_contents($this->pipes[self::STDOUT_DESCRIPTOR_KEY]);
}

Expand Down

0 comments on commit e86580a

Please sign in to comment.