[Zope-dev] zope-tests - FAILED: 21, OK: 19

Stefan H. Holek stefan at epy.co.at
Thu Sep 6 19:08:09 UTC 2012


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
stefan at epy.co.at



More information about the Zope-Dev mailing list