Merge branch 'bugfix-binary-output'
This commit is contained in:
commit
0e6047e3eb
|
@ -102,6 +102,9 @@ class CommandExecutor implements CommandExecutorInterface
|
||||||
$status = proc_close($process);
|
$status = proc_close($process);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mb_substitute_character(65533);
|
||||||
|
|
||||||
|
$this->lastOutput = mb_convert_encoding($this->lastOutput, 'utf8', 'utf8');
|
||||||
$this->lastOutput = array_filter(explode(PHP_EOL, $this->lastOutput));
|
$this->lastOutput = array_filter(explode(PHP_EOL, $this->lastOutput));
|
||||||
|
|
||||||
$shouldOutput = ($this->logExecOutput && ($this->verbose || $status != 0));
|
$shouldOutput = ($this->logExecOutput && ($this->verbose || $status != 0));
|
||||||
|
|
Loading…
Reference in a new issue