Closed gelisam closed 11 years ago
Also -m suffers the same problem. Honestly, I don't know what the hell is going on, but the problem is probably in how hawk
splits the lines.
Found the bug, I'm testing my fix.
Ok I have pushed a new version which flush stdout at the end. It seems to work (your example at least). I still don't have any explanation on why we need to flush stdout only when redirecting...but luckily the first thing that I try when something is not printed in output by a Haskell program is flushing.
Okay, this is really strange, and I have no idea how we can be causing this.
Usually, everything we print can equivalently be redirected into a file:
But with the flag
-w
, this doesn't work?!An example with
-l
, to show that this is really unique to-w
: