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

Johannes Waldmann waldmann at imn.htwk-leipzig.de
Fri Aug 1 11:51:53 EDT 2008


-----BEGIN PGP SIGNED MESSAGE-----
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.

Best regards, J.W.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iEYEARECAAYFAkiTMRkACgkQDqiTJ5Q4dm8MRACfev267AhVPuxkDtCNP6Wz0G/n
CLMAn1RqRS2qRtlDnnzneF2M9kr2QoiR
=pi+1
-----END PGP SIGNATURE-----


More information about the Libraries mailing list