Yes, I did try your example. But, after talking on the #python IRC channel, I realized that it wasn't the process that was blocking, it was my GUI. I had to fire an event using gobject.io_add_watch() whenever data was received from the child process. The event then read from the process and added a line to my gtk.TextView.
Thank you for your suggestions, though. On Dec 30, 12:12 am, Tom Plunket <[EMAIL PROTECTED]> wrote: > Gabriel Genellina wrote: > > Did you *actually* tried what Tom Plunket posted? Two tiny chars make > > a difference.The sad irony is that before taking off for vacation I was > > struggling at > work with the same problem in some sense. I couldn't figure out why for > some processes I got all of the output right away and for others it all > got queued up 'til the process ended. Working out a simple example for > this thread showed the light: my calling of my_process.stdout.read() was > blocking 'til EOF. Oops. > > -tom! > > -- -- http://mail.python.org/mailman/listinfo/python-list