Is there a variant of subprocess.call that can run the command without printing to standard out, or a way to block out it's standard out messages?
subprocess.call
Yes. Redirect its stdout to /dev/null.
stdout
/dev/null
process = subprocess.call(["my", "command"], stdout=open(os.devnull, 'wb'))
1.4m articles
1.4m replys
5 comments
57.0k users