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

Breadcrumb

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

function Process::setIgnoredSignals

Defines a list of posix signals that will not be propagated to the process.

Parameters

list<\SIG*> $signals:

File

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

Class

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

Namespace

Symfony\Component\Process

Code

public function setIgnoredSignals(array $signals) : void {
    if ($this->isRunning()) {
        throw new RuntimeException('Setting ignored signals while the process is running is not possible.');
    }
    $this->ignoredSignals = $signals;
}
RSS feed
Powered by Drupal