function Process::getErrorOutput
Same name in this branch
- 11.1.x vendor/php-tuf/composer-stager/src/Internal/Process/Service/Process.php \PhpTuf\ComposerStager\Internal\Process\Service\Process::getErrorOutput()
Returns the current error output of the process (STDERR).
Throws
LogicException in case the output has been disabled
LogicException In case the process is not started
File
-
vendor/
symfony/ process/ Process.php, line 707
Class
- Process
- Process is a thin wrapper around proc_* functions to easily start independent PHP processes.
Namespace
Symfony\Component\ProcessCode
public function getErrorOutput() : string {
$this->readPipesForOutput(__FUNCTION__);
if (false === ($ret = stream_get_contents($this->stderr, -1, 0))) {
return '';
}
return $ret;
}