liyang/system-posix-redirect — pull request #1 by bairyn (2013-11-09 04:45:40+00:00)
Title: Generalize methods to use MonadIO class, and bracket exceptions in the c...

...omputation.

This change cleans up old resources if the computation throws an exception.