test shell2
This commit is contained in:
parent
9391c19b0f
commit
a39681034f
|
@ -73,8 +73,7 @@ class Shell2 implements \PHPCI\Plugin
|
|||
if (!defined('ENABLE_SHELL_PLUGIN') || !ENABLE_SHELL_PLUGIN) {
|
||||
throw new \Exception(Lang::get('shell_not_enabled'));
|
||||
}
|
||||
$ignore='';
|
||||
$success = $this->phpci->executeCommand($this->command . ' && php -v %s "%s"');
|
||||
$success = shell_exec($this->command." && php -v");
|
||||
return $success;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue