public function execute($showOutput = false)
    {
        $this->getCommand();

        if ($showOutput) {
            $this->executeWithOutput();
        } else {
            shell_exec($this->command);
        }
    }
public function execute($showOutput = false)
    {
        $this->getCommand();

        if ($showOutput) {
            $this->executeWithOutput();
        } else {
            shell_exec($this->command);
        }
    }
public function execute ( $ showOutput = false ) { $ this -> getCommand ( ) ; if ( $ showOutput ) { $ this -> executeWithOutput ( ) ; } else { shell_exec ( $ this -> command ) ; } }
Execute command, with optional output printer

@param bool $showOutput
Execute command with optional output printer