Is there a quiet version of subprocess.call?

python, silent, subprocess

Solution

Yes. Redirect its `stdout` to `/dev/null`.

process = subprocess.call(["my", "command"], stdout=open(os.devnull, 'wb'))

Problem

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?

Original source

Related problems