You are here

public function Process::isRunning in Zircon Profile 8

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

Checks if the process is currently running.

Return value

bool true if the process is currently running, false otherwise

9 calls to Process::isRunning()
Process::disableOutput in vendor/symfony/process/Process.php
Disables fetching output and error output from the underlying process.
Process::doSignal in vendor/symfony/process/Process.php
Sends a POSIX signal to the process.
Process::enableOutput in vendor/symfony/process/Process.php
Enables fetching output and error output from the underlying process.
Process::getPid in vendor/symfony/process/Process.php
Returns the Pid (process identifier), if applicable.
Process::restart in vendor/symfony/process/Process.php
Restarts the process.

... See full list

File

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

Class

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

Namespace

Symfony\Component\Process

Code

public function isRunning() {
  if (self::STATUS_STARTED !== $this->status) {
    return false;
  }
  $this
    ->updateStatus(false);
  return $this->processInformation['running'];
}