Diez B. Roggisch wrote: > > 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
Of course (kicks himself), it is obvious now that you have explained it. I tried your suggestion and it works perfectly. Many thanks Frank -- http://mail.python.org/mailman/listinfo/python-list