Question about StringIO

Diez B. Roggisch deets at
Tue Oct 11 10:47:31 CEST 2005

> Thanks for this pointer. I have read it, but I don't think it applies
> to my situation, as it talks about 'reading' from the child's stdout
> while the child is 'writing' to stderr.

But that is exactly the point: the psql blocks because you don't read 
away the buffered data. Start a thread, read that stdout/stderr and see 
if things go smoothly.


More information about the Python-list mailing list