Fixed 'cd' command for windows
This commit is contained in:
parent
e3ff9d405a
commit
d0f6d295a1
6 changed files with 28 additions and 5 deletions
|
|
@ -70,6 +70,9 @@ class Codeception implements \PHPCI\Plugin
|
|||
}
|
||||
|
||||
$cmd = 'cd "%s" && ' . $codecept . ' run -c "%s"';
|
||||
if (IS_WIN) {
|
||||
$cmd = 'cd /d "%s" && ' . $codecept . ' run -c "%s"';
|
||||
}
|
||||
$success = $this->phpci->executeCommand($cmd, $this->phpci->buildPath, $this->phpci->buildPath . $configPath);
|
||||
|
||||
return $success;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue