runCommand/waitForProcess don't respect text printing
order whenstdout is redirected
waldmann at imn.htwk-leipzig.de
Fri Aug 1 11:51:53 EDT 2008
-----BEGIN PGP SIGNED MESSAGE-----
>> 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.
Best regards, J.W.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the Libraries