public function Process::isSuccessful

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 613

Class

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

Namespace

Symfony\Component\Process

Code

public function isSuccessful() {
  return 0 == $this
    ->getExitCode();
}