We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c53e469 commit e178127Copy full SHA for e178127
src/Util/Executable.php
@@ -13,8 +13,6 @@
13
14
use Ahc\Cli\Helper\Shell;
15
use Ahc\Cli\IO\Interactor;
16
-use Symfony\Component\Process\ExecutableFinder;
17
-use Symfony\Component\Process\Process;
18
19
abstract class Executable
20
{
@@ -95,8 +93,8 @@ protected function runCommand($command)
95
93
96
94
$proc->setOptions($this->workDir)->execute();
97
98
- (new Path)->writeFile($this->logFile, $proc->getErrorOutput(), \FILE_APPEND);
99
-
+ $data = $proc->getOutput() . \PHP_EOL . $proc->getErrorOutput();
+ (new Path)->writeFile($this->logFile, $data, \FILE_APPEND);
100
$this->isSuccessful = 0 === $proc->getExitCode();
101
102
return $proc->getOutput();
0 commit comments