title: suppress/redirect stderr when calling python webrowser
body: <p>I have a python program that opens several urls in seperate tabs in a new browser window, however when I run the program from the command line and open the browser using </p>
  
  <pre><code>webbrowser.open_new(url)
  </code></pre>
  
  <p>The stderr from firefox prints to bash. Looking at the docs I can't seem to find a way to redirect or suppress them</p>
  
  <p>I have resorted to using </p>
  
  <pre><code>browserInstance = subprocess.Popen(['firefox'], stdout=log, stderr=log)
  </code></pre>
  
  <p>Where log is a tempfile &amp; then opening the other tabs with webbrowser.open_new. </p>
  
  <p>Is there a way to do this within the webbrowser module? </p>