Question about StringIO

Diez B. Roggisch deets at nospam.web.de
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.

Diez



More information about the Python-list mailing list