Keywords: subprocess stdout stderr unbuffered pty tty pexpect flush setvbuf
I'm trying to find a solution to URL:http://bugs.python.org/issue1241. In
short: unless specifically told not to, normal C stdio will use full output
buffering when connected to a pipe. It will use default (typically
sven _ [EMAIL PROTECTED] wrote:
In short: unless specifically told not to, normal C stdio will use
full output buffering when connected to a pipe. It will use default
(typically unbuffered) output when connected to a tty/pty.
Wrong. Standard output to a terminal is typically line-buffered.