Run an IO action while preventing all output to stdout.
Modulesilently-1.2.5.4Haskell98
System.IO.Silently
Need to prevent output to the terminal, a file, or stderr? Need to capture it and use it for your own means? Now you can, with silence and capture.
- 6 values
- Packagesilently-1.2.5.4
- Exports6
- LanguageHaskell98
- LicenceBSD-3-Clause
- SourceSilently.hs
Run an IO action while preventing all output to the given handles.
Run an IO action while preventing and capturing all output to stdout. This will, as a side effect, create and delete a temp file in the temp directory or current directory if there is no temp directory.
Like capture, but discards the result of given action.
Run an IO action while preventing and capturing all output to the given handles. This will, as a side effect, create and delete a temp file in the temp directory or current directory if there is no temp directory.
Like hCapture, but discards the result of given action.