diff --git a/src/Process.php b/src/Process.php index db9eacf..80dac52 100644 --- a/src/Process.php +++ b/src/Process.php @@ -130,13 +130,6 @@ public function start(LoopInterface $loop, $interval = 0.1) $this->stdout->on('close', $streamCloseHandler); $this->stderr = new ReadableResourceStream($this->pipes[2], $loop); $this->stderr->on('close', $streamCloseHandler); - - // legacy PHP < 5.4 SEGFAULTs for unbuffered, non-blocking reads - // work around by enabling read buffer again - if (PHP_VERSION_ID < 50400) { - stream_set_read_buffer($this->pipes[1], 1); - stream_set_read_buffer($this->pipes[2], 1); - } } /**