[Haskell-beginners] redirect stdout to /dev/null

Hong Yang hyangfji at gmail.com
Sat Oct 3 17:43:25 EDT 2009


On UNIX, we can easily redirect stdout to /dev/null in a Shell. How is this
realized in Haskell on both UNIX and Windows?

I used a library which gave me unwanted stdout display. I tried to find any
function to hide the stdout output, but could not. Can someone help me out?

Otherwise I have to modify the code in the library to comment out some print
commands.

Thanks,

Hong
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/beginners/attachments/20091003/789b18fb/attachment.html


More information about the Beginners mailing list