fix issue #218 by blanking last output before executing new command.
This commit is contained in:
parent
5801c6083e
commit
d26568b962
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue