public function Process::getStatus

Gets the process status.

The status is one of: ready, started, terminated.

Return value

string The current process status

File

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

Class

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

Namespace

Symfony\Component\Process

Code

public function getStatus() {
  $this
    ->updateStatus();
  return $this->status;
}