protected function exec($command, $arguments = [], $options = [])
    {
        $arguments = implode(' ', (array) $arguments);
        $options   = implode(' ', (array) $options);

        $command = sprintf('%s %s %s', $command, $arguments, $options);

        $this->out('>> ' . $command);

        if ($this->io->getOption('dry-run')) {
            return '';
        }

        $return = exec(trim($command), $this->lastOutput, $this->lastReturn);

        $this->out($return);
    }