On Jul 2, 1:58 pm, Bjoern Schliessmann <usenet- [EMAIL PROTECTED]> wrote: > 7stud wrote: > > Thanks for the response. So are you saying that the only way you > > can get data out of a pipe is when the subprocess has terminated? > > No, not only because Pipes aren't related to processes in any > special way. > > He said that you can't write to a pipe whose reader has already > terminated. >
What he said was: >...once the subprocess terminates (which it must have done for >p.stdout.read() to return a result) And based on the results of the examples I posted in my last post, it seems to confirm that no data travels through a pipe until a program on one side of the pipe has terminated. -- http://mail.python.org/mailman/listinfo/python-list