Update src/Core/System.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
Philipp 2021-11-01 07:53:26 +01:00 committed by Philipp
parent 388f9d5a5b
commit 807c95b314
No known key found for this signature in database
GPG Key ID: 24A7501396EB5432

View File

@ -216,6 +216,7 @@ class System
} else { } else {
$resource = proc_open($cmdline . ' &', [], $foo, $this->basePath); $resource = proc_open($cmdline . ' &', [], $foo, $this->basePath);
} }
if (!is_resource($resource)) { if (!is_resource($resource)) {
$this->logger->warning('We got no resource for command.', ['command' => $cmdline]); $this->logger->warning('We got no resource for command.', ['command' => $cmdline]);
return; return;