You are here

public function Process::getStatus in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/process/Process.php \Symfony\Component\Process\Process::getStatus()

Gets the process status.

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

Return value

string The current process status

File

vendor/symfony/process/Process.php, line 755

Class

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

Namespace

Symfony\Component\Process

Code

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