process-conduit
process-conduit copied to clipboard
Conduits for Processes
Currently with process-conduit, stderr of the process ends up on the console. I was wondering if you could think of a way to capture the stderr of a process started...
The `hReady` function takes account of the encoding of a given handle, and it checks whether one or more _characters_ are available. Thus, it may fail with a decoding error....
Consider the following example: ``` haskell {-# LANGUAGE OverloadedStrings #-} import Control.Concurrent (threadDelay) import Control.Concurrent.MVar (newEmptyMVar, putMVar, takeMVar) import Control.Monad (forever) import Control.Monad.IO.Class (liftIO) import Control.Monad.Trans.Resource (runResourceT) import Data.Conduit (yield,...
Right now it doesn't look like there's any support at all for getting a conduit of stderr.
Is `process-conduit` completely deadlock-safe? I tried implementing the same concept on top of `pipes-core`, and I haven't been to address the case where an upstream pipe is blocked on a...