On 06.09.2012, at 10:58, Marius Gedminas wrote: > How do you redirect the stderr of a process spawned with > suprocess.Popen(shell=False) to /dev/null in a cross-platform manner?
os.devnull perhaps? Or rather, what about subprocess.Popen(cmd, stderr=subprocess.PIPE)? Stefan -- Stefan H. Holek ste...@epy.co.at _______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )