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

Henning Thielemann lemming at
Tue Aug 5 07:04:35 EDT 2008

On Fri, 1 Aug 2008, Johannes Waldmann wrote:

> Hash: SHA1
> >>  hSetBuffering stdout LineBuffering
> I run into this from time to time as well.
> I think the ghc (runtime) runtime behaviour is confusing here,
> as it tries to be too clever. I don't think it should
> even try to find out whether it's writing to terminal or file.

As far as I know it's the same behaviour as that of C standard libraries.

More information about the Libraries mailing list