polysemy-process-0.9.0.0: Polysemy effects for system processes
Safe HaskellSafe-Inferred
LanguageHaskell2010

Polysemy.Process.Interpreter.ProcessStdio

Description

 
Synopsis

Documentation

interpretProcessByteStringNative Source #

Arguments

:: Members [Resource, Race, Async, Embed IO] r 
=> ProcessOptions 
-> ProcessConfig () () ()

Basic config. The pipes will be changed to Handle by the interpreter.

-> 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 Handle by the interpreter.

-> 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 Handle by the interpreter.

-> 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 Handle by the interpreter.

-> InterpreterFor (Scoped () (Process Text Text) !! ProcessError) r 

Interpret Process as a native SystemProcess, producing lines of Text. Silently discards stderr.