Donn Cave wrote:
> In article <[EMAIL PROTECTED]>,
>  "Dr. Who" <[EMAIL PROTECTED]> wrote:
> > So here it is: handle unbuffered output from a child process.
>
> Your Perl program works the same for me, on MacOS X,
> as your Python program.  That's what we would expect,
> of course, because the problem is with the (Python)
> program on the other end - it's buffering output,
> because the output device is not a terminal.
>
>    Donn Cave, [EMAIL PROTECTED]

Yes Donn's right , works the same for me , bufcallee.py may be should
look like
this

import time
import sys

sysout=sys.stdout

sysout.write("START\n")
sysout.flush()
time.sleep(10)
sysout.write("STOP\n")
sysout.flush()

regards
jitu

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to