help!! getting output from another process line by line, using popen
Michael Hudson
mwh at python.net
Fri Jan 17 06:25:01 EST 2003
cout <cout at netvigator.com> writes:
> There are 2 python scripts, one is to print out the output(output.py),
> the other is supposed to get std output from output.py line by line.
> However, it only get all the result after 40 seconds. Not during the
> executing process. Any ideas?
Yes, but you probably don't want to hear them <wink>.
This is probably all to do with terminals and the mysterious concepts
of "line discipline" and ptys and things. How badly do you want this
to work?
Cheers,
M.
--
Those who have deviant punctuation desires should take care of their
own perverted needs. -- Erik Naggum, comp.lang.lisp
More information about the Python-list
mailing list