Fixed unittests on windows

This commit is contained in:
Dmitry Khomutov 2014-03-09 01:46:03 +07:00
parent 7307866d24
commit 4c3645dbf2

View file

@ -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);
}