From: Vincent Vanwaelscappel Date: Wed, 6 Dec 2023 08:20:41 +0000 (+0100) Subject: wip #65455 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=185d21585f82eff6455f24d3b51c2af634ec7986;p=cubist_util.git wip #65455 --- diff --git a/src/CommandLine.php b/src/CommandLine.php index 57ea48d..ef069cf 100644 --- a/src/CommandLine.php +++ b/src/CommandLine.php @@ -134,6 +134,8 @@ class CommandLine $c .= ' 2>&1 '; } + $this->commande = $c; + $fonction($c); } $endTime = microtime(true); @@ -259,7 +261,7 @@ class CommandLine public function debug() { - $debug = $this->commande . "\n\n" . file_get_contents($this->output); + $debug = $this->getCommand() . "\n\n" . $this->getOutput(); try { Log::debug($debug); } catch (\Exception $e) {