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

Breadcrumb

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

function Process::hasBeenSignaled

Returns true if the child process has been terminated by an uncaught signal.

It always returns false on Windows.

Throws

LogicException In case the process is not terminated

File

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

Class

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

Namespace

Symfony\Component\Process

Code

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