Updates the current output of the process (STDOUT).
protected function updateOutput() {
if (defined('PHP_WINDOWS_VERSION_BUILD') && isset($this->fileHandles[self::STDOUT]) && is_resource($this->fileHandles[self::STDOUT])) {
fseek($this->fileHandles[self::STDOUT], $this->readBytes[self::STDOUT]);
$this
->addOutput(stream_get_contents($this->fileHandles[self::STDOUT]));
}
elseif (isset($this->pipes[self::STDOUT]) && is_resource($this->pipes[self::STDOUT])) {
$this
->addOutput(stream_get_contents($this->pipes[self::STDOUT]));
}
}