diff --git a/PHPCI/Plugin/Shell2.php b/PHPCI/Plugin/Shell2.php index ce57c28b..8de685ad 100644 --- a/PHPCI/Plugin/Shell2.php +++ b/PHPCI/Plugin/Shell2.php @@ -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; } }