public function Process::getTermSignal

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

It is only meaningful if hasBeenSignaled() returns true.

@api

Return value

integer

File

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

Class

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

Namespace

Symfony\Component\Process

Code

public function getTermSignal() {
  $this
    ->updateStatus();
  return $this->processInformation['termsig'];
}