You are here

private function Process::captureExitCode in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/process/Process.php \Symfony\Component\Process\Process::captureExitCode()

Captures the exitcode if mentioned in the process information.

1 call to Process::captureExitCode()
Process::updateStatus in vendor/symfony/process/Process.php
Updates the status of the process, reads pipes.

File

vendor/symfony/process/Process.php, line 1381

Class

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

Namespace

Symfony\Component\Process

Code

private function captureExitCode() {
  if (isset($this->processInformation['exitcode']) && -1 != $this->processInformation['exitcode']) {
    $this->exitcode = $this->processInformation['exitcode'];
  }
}