]> _ Git - cubist_util.git/commitdiff
wip #65455
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 6 Dec 2023 08:20:41 +0000 (09:20 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 6 Dec 2023 08:20:41 +0000 (09:20 +0100)
src/CommandLine.php

index 57ea48d15971e161966dec78fed1ae452014d4b2..ef069cfb888284d1520d4983c7c4ee75a6739705 100644 (file)
@@ -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) {