Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Process.php

function Process::isRunning

Checks if the process is currently running.

12 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 860

Class

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

Namespace

Symfony\Component\Process

Code

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