Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Interpreters for ProcessOutput
and ProcessInput
, Internal
Synopsis
- type ProcessIO i o = [ProcessInput i, ProcessOutput 'Stdout o, ProcessOutput 'Stderr o]
- interpretProcessByteString :: InterpretersFor (ProcessIO ByteString ByteString) r
- interpretProcessByteStringLines :: InterpretersFor (ProcessIO ByteString ByteString) r
- interpretProcessText :: InterpretersFor (ProcessIO Text Text) r
- interpretProcessTextLines :: InterpretersFor (ProcessIO Text Text) r
Documentation
type ProcessIO i o = [ProcessInput i, ProcessOutput 'Stdout o, ProcessOutput 'Stderr o] Source #
The effects used by Process
to send and receive chunks of bytes to and from a process.
interpretProcessByteString :: InterpretersFor (ProcessIO ByteString ByteString) r Source #
Interpret ProcessIO
with plain ByteString
s without chunking.
Silently discards stderr.
interpretProcessByteStringLines :: InterpretersFor (ProcessIO ByteString ByteString) r Source #
Interpret ProcessIO
with ByteString
s chunked as lines.
Silently discards stderr.