Safe Haskell | Safe |
---|---|
Language | Haskell98 |
Synopsis
- data StreamingProcessHandle = StreamingProcessHandle ProcessHandle (TMVar ExitCode) (IO ())
- class InputSource a where
- class OutputSink a where
Documentation
data StreamingProcessHandle #
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 #
Class for all things which can be used to provide standard input.
Since 0.1.4
Instances
InputSource Handle # | |
Defined in Data.Streaming.Process.Internal | |
InputSource ClosedStream # | |
Defined in Data.Streaming.Process isStdStream :: (Maybe Handle -> IO ClosedStream, Maybe StdStream) # | |
InputSource Inherited # | |
Defined in Data.Streaming.Process | |
InputSource UseProvidedHandle # | |
Defined in Data.Streaming.Process isStdStream :: (Maybe Handle -> IO UseProvidedHandle, Maybe StdStream) # |
class OutputSink a where #
Class for all things which can be used to consume standard output or error.
Since 0.1.4
Instances
OutputSink Handle # | |
Defined in Data.Streaming.Process.Internal | |
OutputSink ClosedStream # | |
Defined in Data.Streaming.Process osStdStream :: (Maybe Handle -> IO ClosedStream, Maybe StdStream) # | |
OutputSink Inherited # | |
Defined in Data.Streaming.Process | |
OutputSink UseProvidedHandle # | |
Defined in Data.Streaming.Process osStdStream :: (Maybe Handle -> IO UseProvidedHandle, Maybe StdStream) # |