code: def _RunCommand(self, command):
      
      arguments = shlex.split(command)
      process = subprocess.Popen(
          arguments, stderr=subprocess.PIPE, stdout=subprocess.PIPE,
          universal_newlines=True)
      if not process:
        raise RuntimeError("Running: {0:s} failed.".format(command))
  
      output, error = process.communicate()
      if process.returncode != 0:
        error = "\n".join(error.split("\n")[-5:])
        raise RuntimeError("Running: {0:s} failed with error:\n{1:s}.".format(
            command, error))
  
      return output
docs: Runs the command.