def execute(*command):
    devnull = open(os.devnull, 'w')
    command = map(str, command)
    subprocess.call(command, close_fds=True, stdout=devnull, stderr=devnull)
    devnull.close()
Execute without returning stdout.
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/plugins/xenserver/networking/etc/xensource/scripts/novalib.py/execute