From fa5b361f34d9841d724772a4d67ce86b62c7fa26 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Mon, 28 Oct 2024 13:32:20 +0100 Subject: [PATCH] Fix handling of signals in non-PHP binaries run via proxies (#12176) Fixes #12164 --- src/Composer/Installer/BinaryInstaller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Installer/BinaryInstaller.php b/src/Composer/Installer/BinaryInstaller.php index 54ecd94cf..921132552 100644 --- a/src/Composer/Installer/BinaryInstaller.php +++ b/src/Composer/Installer/BinaryInstaller.php @@ -406,7 +406,7 @@ if [ -n "\$bashSource" ]; then fi fi -"\${dir}/$binFile" "\$@" +exec "\${dir}/$binFile" "\$@" PROXY; }