Trouble with popen2

P at P at
Wed Sep 29 14:02:35 CEST 2004

Rembrandt Q Einstein wrote:
> I am running an external command and I need to know a) when it is done 
> and b) what it wrote to both stdout and stderr.  After a little 
> searching, I found the popen2 module and used the Popen3 class.  I'm 
> having trouble with it hanging, though.

This should be a FAQ if it's not.
Have a go with:


More information about the Python-list mailing list