protected function Process::updateErrorOutput

Updates the current error output of the process (STDERR).

1 call to Process::updateErrorOutput()
Process::getErrorOutput in drupal/core/vendor/symfony/process/Symfony/Component/Process/Process.php
Returns the current error output of the process (STDERR).

File

drupal/core/vendor/symfony/process/Symfony/Component/Process/Process.php, line 1174

Class

Process
Process is a thin wrapper around proc_* functions to ease start independent PHP processes.

Namespace

Symfony\Component\Process

Code

protected function updateErrorOutput() {
  if (isset($this->pipes[self::STDERR]) && is_resource($this->pipes[self::STDERR])) {
    $this
      ->addErrorOutput(stream_get_contents($this->pipes[self::STDERR]));
  }
}