Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data StreamingProcessHandle = StreamingProcessHandle ProcessHandle (TMVar ExitCode) (IO ())
- class InputSource a where
- class OutputSink a where
Documentation
data StreamingProcessHandle Source #
Wraps up the standard ProcessHandle
to avoid the waitForProcess
deadlock. See the linked documentation from the module header for more
information.
Since 0.1.4
class InputSource a where Source #
Class for all things which can be used to provide standard input.
Since 0.1.4
Instances
InputSource Handle Source # | |
Defined in Data.Streaming.Process.Internal | |
InputSource ClosedStream Source # | |
Defined in Data.Streaming.Process isStdStream :: (Maybe Handle -> IO ClosedStream, Maybe StdStream) Source # | |
InputSource Inherited Source # | |
Defined in Data.Streaming.Process | |
InputSource UseProvidedHandle Source # | |
Defined in Data.Streaming.Process isStdStream :: (Maybe Handle -> IO UseProvidedHandle, Maybe StdStream) Source # |
class OutputSink a where Source #
Class for all things which can be used to consume standard output or error.
Since 0.1.4
Instances
OutputSink Handle Source # | |
Defined in Data.Streaming.Process.Internal | |
OutputSink ClosedStream Source # | |
Defined in Data.Streaming.Process osStdStream :: (Maybe Handle -> IO ClosedStream, Maybe StdStream) Source # | |
OutputSink Inherited Source # | |
Defined in Data.Streaming.Process | |
OutputSink UseProvidedHandle Source # | |
Defined in Data.Streaming.Process osStdStream :: (Maybe Handle -> IO UseProvidedHandle, Maybe StdStream) Source # |