function Process::getExitCode
Returns the exit code returned by the process.
Return value
int|null The exit status code, null if the Process is not terminated
2 calls to Process::getExitCode()
- Process::getExitCodeText in vendor/
symfony/ process/ Process.php - Returns a string representation for the exit code returned by the process.
- Process::isSuccessful in vendor/
symfony/ process/ Process.php - Checks if the process ended successfully.
File
-
vendor/
symfony/ process/ Process.php, line 761
Class
- Process
- Process is a thin wrapper around proc_* functions to easily start independent PHP processes.
Namespace
Symfony\Component\ProcessCode
public function getExitCode() : ?int {
$this->updateStatus(false);
return $this->exitcode;
}