In Python - how to execute system command with no output
<p>Is there a built-in method in Python to execute a system command without displaying the output? I only want to grab the return value.</p>

<p>It is important that it be cross-platform, so just redirecting the output to /dev/null won't work on Windows, and the other way around. I know I can just check os.platform and build the redirection myself, but I'm hoping for a built-in solution.</p>
