fix issue #218 by blanking last output before executing new command.

This commit is contained in:
steve.brazier 2013-12-12 14:16:14 +00:00
parent 5801c6083e
commit d26568b962

View file

@ -45,6 +45,8 @@ class CommandExecutor
*/ */
public function executeCommand($args = array()) public function executeCommand($args = array())
{ {
$this->lastOutput = array();
$command = call_user_func_array('sprintf', $args); $command = call_user_func_array('sprintf', $args);
if ($this->quiet) { if ($this->quiet) {