Webmozart\Console\Process\ProcessLauncher::restoreSignalHandlers PHP Method

restoreSignalHandlers() private method

private restoreSignalHandlers ( $terminable = true )
    private function restoreSignalHandlers($terminable = true)
    {
        if (function_exists('pcntl_signal') && !$terminable) {
            pcntl_signal(SIGTERM, SIG_DFL);
            pcntl_signal(SIGINT, SIG_DFL);
        }
    }