test shell2

This commit is contained in:
aliaxander 2016-02-22 01:45:46 +03:00
parent 9391c19b0f
commit a39681034f

View file

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