function Process::addErrorOutput
Adds a line to the STDERR stream.
@internal
1 call to Process::addErrorOutput()
- Process::buildCallback in vendor/
symfony/ process/ Process.php - Builds up the callback used by wait().
File
-
vendor/
symfony/ process/ Process.php, line 957
Class
- Process
- Process is a thin wrapper around proc_* functions to easily start independent PHP processes.
Namespace
Symfony\Component\ProcessCode
public function addErrorOutput(string $line) : void {
$this->lastOutputTime = microtime(true);
fseek($this->stderr, 0, \SEEK_END);
fwrite($this->stderr, $line);
fseek($this->stderr, $this->incrementalErrorOutputOffset);
}