Wrapper to pass command to plowshare.

        :param command: The command to pass to plowshare.
        :type command: str
        :param **kwargs: Additional keywords passed into
        :type **kwargs: dict
        :returns: Object containing either output of plowshare command or an
                  error message.
        :rtype: dict
        :raises: Exception

def _run_command(self, command, **kwargs):
        """Wrapper to pass command to plowshare.

        :param command: The command to pass to plowshare.
        :type command: str
        :param **kwargs: Additional keywords passed into
        :type **kwargs: dict
        :returns: Object containing either output of plowshare command or an
                  error message.
        :rtype: dict
        :raises: Exception
        """
        try:
            return {'output': subprocess.check_output(command, **kwargs)}
        except Exception as e:
            return {'error': str(e)}