public function Process::isRunning

Checks if the process is currently running.

Return value

Boolean true if the process is currently running, false otherwise

3 calls to Process::isRunning()
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.
Process::wait in drupal/core/vendor/symfony/process/Symfony/Component/Process/Process.php
Waits for the process to terminate.

File

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

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'];
}