public function Process::isRunning

Checks if the process is currently running.

Return value

Boolean true if the process is currently running, false otherwise

6 calls to Process::isRunning()
Process::getPid in drupal/core/vendor/symfony/process/Symfony/Component/Process/Process.php
Returns the Pid (process identifier), if applicable.
Process::restart in drupal/core/vendor/symfony/process/Symfony/Component/Process/Process.php
Restarts the process.
Process::signal in drupal/core/vendor/symfony/process/Symfony/Component/Process/Process.php
Sends a posix signal to the process.
Process::start in drupal/core/vendor/symfony/process/Symfony/Component/Process/Process.php
Starts the process and returns after sending the STDIN.
Process::stop in drupal/core/vendor/symfony/process/Symfony/Component/Process/Process.php
Stops the process.

... See full list

File

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

Class

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

Namespace

Symfony\Component\Process

Code

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