tasty-bdd
Safe HaskellNone
LanguageHaskell2010

System.CaptureStdout

Description

Capture process-wide standard output while suppressing action exceptions.

Module: System.CaptureStdout License: BSD-3-Clause Credits: Merijn Verstraaten

Synopsis

Documentation

captureStdout :: String -> IO () -> IO Text Source #

Capture output using a temporary file. Concurrent captures are not isolated.