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

Breadcrumb

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

function Process::hasBeenStopped

Returns true if the child process has been stopped by a signal.

It always returns false on Windows.

Throws

LogicException In case the process is not terminated

File

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

Class

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

Namespace

Symfony\Component\Process

Code

public function hasBeenStopped() : bool {
    $this->requireProcessIsTerminated(__FUNCTION__);
    return $this->processInformation['stopped'];
}
RSS feed
Powered by Drupal