From a39681034f6d68d3c419557a2ad0198316214e39 Mon Sep 17 00:00:00 2001 From: aliaxander Date: Mon, 22 Feb 2016 01:45:46 +0300 Subject: [PATCH] test shell2 --- PHPCI/Plugin/Shell2.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; } }