runCommand/waitForProcess don't respect text printing order whenstdout is redirected

Alfonso Acosta alfonso.acosta at gmail.com
Fri Aug 1 10:32:36 EDT 2008


On Fri, Aug 1, 2008 at 4:25 PM, Bayley, Alistair
<Alistair.Bayley at invesco.com> wrote:
> Possibly buffering? I think the terminal has line buffering by default,
> whereas files are usually block-buffered. Try changing the buffering to
> line:
>
>  hSetBuffering stdout LineBuffering

Thanks! That worked.

Sorry for the noise. I assumend that files, just like terminals, where
line-buffered.


More information about the Libraries mailing list