process-extras 0.1.0 → 0.1.1
raw patch · 3 files changed
+14/−6 lines, 3 files
Files
process-extras.cabal view
@@ -1,5 +1,5 @@ Name: process-extras-Version: 0.1.0+Version: 0.1.1 Synopsis: Process extras Description: Extra functionality for the Process library <http://hackage.haskell.org/package/process>.@@ -19,8 +19,16 @@ Location: https://github.com/davidlazar/process-extras Library+ ghc-options: -Wall+ Hs-source-dirs: src+ Exposed-modules: System.Process.ByteString System.Process.Text- Build-depends: base >= 4 && < 5, process, bytestring, text++ Build-depends:+ base >= 4 && < 5,+ process,+ bytestring,+ text
src/System/Process/ByteString.hs view
@@ -24,13 +24,13 @@ errM <- newEmptyMVar -- fork off a thread to start consuming stdout- forkIO $ do+ _ <- forkIO $ do out <- B.hGetContents outh putMVar outM out putMVar outMVar () -- fork off a thread to start consuming stderr- forkIO $ do+ _ <- forkIO $ do err <- B.hGetContents errh putMVar errM err putMVar outMVar ()
src/System/Process/Text.hs view
@@ -25,13 +25,13 @@ errM <- newEmptyMVar -- fork off a thread to start consuming stdout- forkIO $ do+ _ <- forkIO $ do out <- T.hGetContents outh putMVar outM out putMVar outMVar () -- fork off a thread to start consuming stderr- forkIO $ do+ _ <- forkIO $ do err <- T.hGetContents errh putMVar errM err putMVar outMVar ()