code: def _call(self, command, ignore_errors=None):
          
          if ignore_errors is None:
              ignore_errors = []
  
          command = self._get_command(command)
          logger.debug("Cmd %s" % command)
          null = open('/dev/null', 'w')
          retcode = subprocess.call(command, stdout=null, stderr=null)
          null.close()
  
          if retcode in ignore_errors:
              logger.debug(
                  "<-- Cmd %s returned %d (ignored)" % (command, retcode))
              return
  
          if retcode:
              logger.error(
                  "<-- Cmd %s returned: %d (error)" % (command, retcode))
              raise subprocess.CalledProcessError(retcode, command)
  
          logger.debug("<-- Returned %d (good)" % retcode)
          return
docs: Call remote command with logging.