Safe Haskell | None |
---|---|
Language | Haskell2010 |
Running actions with explicit input/output connected to
/stdin
.stdout
This module is inspired by the package http://hackage.haskell.org/package/silently.
Documentation
:: FilePath | Path to directory for temporary file |
-> String | Base name for temporary file |
-> ((FilePath, Handle) -> IO a) | Action |
-> IO a |
Perform an action that with access to a temporary file. The file is removed after the action is completed.