diff --git a/src/Deployment/CliRunner.php b/src/Deployment/CliRunner.php index f3a6d0f..b98b61c 100644 --- a/src/Deployment/CliRunner.php +++ b/src/Deployment/CliRunner.php @@ -206,6 +206,8 @@ private function setupPhp(): void pcntl_signal(SIGINT, SIG_DFL); throw new \Exception('Terminated'); }); + pcntl_async_signals(true); + } elseif (function_exists('sapi_windows_set_ctrl_handler')) { sapi_windows_set_ctrl_handler(function () { throw new \Exception('Terminated');