Re: Capture console app output into texview?



On Fri, Nov 20, 2009 at 03:09:56PM +0100, Till Harbaum / Lists wrote:
The interesting part is that your program
below shows the same behaviour: I don't see any output until the 
embedded application (geotoad in this case) has ended. This is
rather annoying as the program runs quite some seconds and the
user may think something is broken. Perhaps geotoad misses
some "flushs", but it does not show the problem when being run
from the xterminal/whatever.

Terminals are normaly line-buffered while pipes are block-buffered, see
setvbuf(3) for some info.  So the buffering behaviour differs depending
on where the output goes.

Yeti




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]