public function Process::isTerminated

Checks if the process is terminated.

Return value

Boolean true if process is terminated, false otherwise

File

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

Class

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

Namespace

Symfony\Component\Process

Code

public function isTerminated() {
  $this
    ->updateStatus();
  return $this->status == self::STATUS_TERMINATED;
}