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

Breadcrumb

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

function Process::getStopSignal

Returns the number of the signal that caused the child process to stop its execution.

It is only meaningful if hasBeenStopped() returns true.

Throws

LogicException In case the process is not terminated

File

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

Class

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

Namespace

Symfony\Component\Process

Code

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