subprocess-how to suppress the stdout

alf ask at me
Thu Oct 26 13:16:34 CEST 2006


Hi,
I use subprocess to execute another program but need to suppress its stdout.

I can achieve it by using Popen(...,stdout=subprocess.PIPE,...) but 
wonder where the all stdout actually goes. Is it buffered (to eventually 
fill up)or just discarded?

Or there is a better solution ...

Thx, alf



More information about the Python-list mailing list