Checks if the process ended successfully.
@api
Return value
Boolean true if the process ended successfully, false otherwise
File
- drupal/core/vendor/symfony/process/Symfony/Component/Process/Process.php, line 455
Class
- Process
- Process is a thin wrapper around proc_* functions to ease
start independent PHP processes.
Namespace
Symfony\Component\Process
Code
public function isSuccessful() {
$this
->updateStatus();
return 0 == $this->exitcode;
}