From 7c6554451e921e500ac503383945acc6d3a2ba2c Mon Sep 17 00:00:00 2001 From: Philipp Date: Mon, 1 Nov 2021 07:53:47 +0100 Subject: [PATCH] Update src/Core/System.php Co-authored-by: Hypolite Petovan --- src/Core/System.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Core/System.php b/src/Core/System.php index d41180294..44249175a 100644 --- a/src/Core/System.php +++ b/src/Core/System.php @@ -221,6 +221,7 @@ class System $this->logger->warning('We got no resource for command.', ['command' => $cmdline]); return; } + proc_close($resource); $this->logger->info('Executed "proc_open"', ['command' => $cmdline, 'callstack' => System::callstack(10)]);