code: def ExecuteCmd(cmd, quiet=False):
    
    result = None
    if quiet:
      with open(os.devnull, "w") as fnull:
        result = subprocess.call(cmd, shell=True, stdout=fnull, stderr=fnull)
    else:
      result = subprocess.call(cmd, shell=True)
    return result
docs: Run a command in a shell.