diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-04-03 19:48:56 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-04-03 19:48:56 -0400 |
commit | c4218e0ffed77e2afaafc8efd19efd907a6abd8a (patch) | |
tree | fc57ba589bdd3288438206a135b19f79328dad3b /Utility/Process.hs | |
parent | d660e2443b99817a33127443e5d7314c99c291fc (diff) |
fix stderr handling
Diffstat (limited to 'Utility/Process.hs')
-rw-r--r-- | Utility/Process.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Utility/Process.hs b/Utility/Process.hs index 64363cf6b..0f494810c 100644 --- a/Utility/Process.hs +++ b/Utility/Process.hs @@ -321,6 +321,7 @@ stderrHandle _ = error "expected stderrHandle" ioHandles :: (Maybe Handle, Maybe Handle, Maybe Handle, ProcessHandle) -> (Handle, Handle) ioHandles (Just hin, Just hout, _, _) = (hin, hout) ioHandles _ = error "expected ioHandles" +oeHandles :: (Maybe Handle, Maybe Handle, Maybe Handle, ProcessHandle) -> (Handle, Handle) oeHandles (_, Just hout, Just herr, _) = (hout, herr) oeHandles _ = error "expected oeHandles" |