title: Ignoring output from subprocess.Popen
body: <p>I am calling a java program from my Python script, and it is outputting a lot of useless information I don't want. I have tried addind <code>stdout=None</code> to the Popen function:</p>
  
  <pre><code>subprocess.Popen(['java', '-jar', 'foo.jar'], stdout=None)
  </code></pre>
  
  <p>But it does the same. Any idea?</p>