> 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 -- http://mail.python.org/mailman/listinfo/python-list