public function buildCommand()
    {
        $command = $this->getCommand();
        $output = $this->output !== null ? $this->output : $this->getDefaultOutput();

        return $command.' > '.$output.' 2>&1';
    }