"Steven W. Orr" <ste...@syslang.net> writes: > But, I actually do get line buffered IO.
No, you don't. > I get the stdout stuff as it happens, and the stderr stuff when that > happens. Every process flushes its output when it exits. > If you run this program locally, it does the same thing. BUT! if you > run it remotely, the two channels all block up till program exit and > it all comes out in one squirt. There is nothing that flushes the output before the process exits. (Nothing of this has anything to do with the shell.) Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."