| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Polysemy.Process.Interpreter.ProcessStdio
Description
Synopsis
- interpretProcessByteStringNative :: Members [Resource, Race, Async, Embed IO] r => ProcessOptions -> ProcessConfig () () () -> InterpreterFor (Scoped () (Process ByteString ByteString) !! ProcessError) r
- interpretProcessByteStringLinesNative :: Members [Resource, Race, Async, Embed IO] r => ProcessOptions -> ProcessConfig () () () -> InterpreterFor (Scoped () (Process ByteString ByteString) !! ProcessError) r
- interpretProcessTextNative :: Members [Resource, Race, Async, Embed IO] r => ProcessOptions -> ProcessConfig () () () -> InterpreterFor (Scoped () (Process Text Text) !! ProcessError) r
- interpretProcessTextLinesNative :: Members [Resource, Race, Async, Embed IO] r => ProcessOptions -> ProcessConfig () () () -> InterpreterFor (Scoped () (Process Text Text) !! ProcessError) r
Documentation
interpretProcessByteStringNative Source #
Arguments
| :: Members [Resource, Race, Async, Embed IO] r | |
| => ProcessOptions | |
| -> ProcessConfig () () () | Basic config. The pipes will be changed to |
| -> InterpreterFor (Scoped () (Process ByteString ByteString) !! ProcessError) r |
Interpret Process as a native SystemProcess, producing unaccumulated chunks of ByteString.
Silently discards stderr.
interpretProcessByteStringLinesNative Source #
Arguments
| :: Members [Resource, Race, Async, Embed IO] r | |
| => ProcessOptions | |
| -> ProcessConfig () () () | Basic config. The pipes will be changed to |
| -> InterpreterFor (Scoped () (Process ByteString ByteString) !! ProcessError) r |
Interpret Process as a native SystemProcess, producing lines of ByteString.
Silently discards stderr.
interpretProcessTextNative Source #
Arguments
| :: Members [Resource, Race, Async, Embed IO] r | |
| => ProcessOptions | |
| -> ProcessConfig () () () | Basic config. The pipes will be changed to |
| -> InterpreterFor (Scoped () (Process Text Text) !! ProcessError) r |
Interpret Process as a native SystemProcess, producing unaccumulated chunks of Text.
Silently discards stderr.
interpretProcessTextLinesNative Source #
Arguments
| :: Members [Resource, Race, Async, Embed IO] r | |
| => ProcessOptions | |
| -> ProcessConfig () () () | Basic config. The pipes will be changed to |
| -> InterpreterFor (Scoped () (Process Text Text) !! ProcessError) r |
Interpret Process as a native SystemProcess, producing lines of Text.
Silently discards stderr.