diff --git a/src/Core/System.php b/src/Core/System.php index d411802945..44249175a7 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)]);