Fixed unittests on windows
This commit is contained in:
parent
76c9676be3
commit
e7bca06363
1 changed files with 4 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue