public function Process::getExitCode

Returns the exit code returned by the process.

@api

Return value

integer The exit status code

File

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

Class

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

Namespace

Symfony\Component\Process

Code

public function getExitCode() {
  $this
    ->updateStatus();
  return $this->exitcode;
}