Documentation
Run an IO action while preventing all output to stdout. This will, as a side effect, create and delete a temp file in the current directory.
hSilence :: [Handle] -> IO a -> IO aSource
Run an IO action while preventing all output to the given handles. This will, as a side effect, create and delete a temp file in the current directory.