code: def run (cmd, verbosity=0, **kwargs):
      
      # Note that shell_quote_nt() result is not suitable for copy-paste
      # (especially on Unix systems), but it looks nicer than shell_quote().
      if verbosity >= 0:
          log_info("running %s" % " ".join(map(shell_quote_nt, cmd)))
      if kwargs:
          if verbosity >= 0:
              log_info("    with %s" % ", ".join("%s=%s" % (k, shell_quote(str(v)))\
                                             for k, v in kwargs.items()))
          if kwargs.get("shell"):
              # for shell calls the command must be a string
              cmd = " ".join(cmd)
      if verbosity < 1:
          # hide command output on stdout
          with open(os.devnull, 'wb') as devnull:
              kwargs['stdout'] = devnull
              res = subprocess.call(cmd, **kwargs)
      else:
          res = subprocess.call(cmd, **kwargs)
      return res
docs: Run command without error checking.
      @return: command return code