I'd like to redirect stdout and stderr to a file from a haskell
program, i.e. I'd like to bracket an IO action with output to stdout
with redirecting stdout to a file before the action and redirecting it
back at where it was after that action. 

I've taken a look at Hsh, but it uses Posix which apparently is not
available with hugs. Is there any way to achieve this?

Marko
-- 
Marko Schütz            [EMAIL PROTECTED]
http://www.ki.informatik.uni-frankfurt.de/~marko/


Reply via email to