Fixed unittests on windows
This commit is contained in:
parent
7307866d24
commit
4c3645dbf2
|
@ -75,6 +75,10 @@ class CommandExecutor
|
|||
$status = 0;
|
||||
exec($command, $this->lastOutput, $status);
|
||||
|
||||
foreach ($this->lastOutput as &$lastOutput) {
|
||||
$lastOutput = trim($lastOutput, '"');
|
||||
}
|
||||
|
||||
if (!empty($this->lastOutput) && ($this->verbose|| $status != 0)) {
|
||||
$this->logger->log($this->lastOutput);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue