sys-process-0.1.4: A replacement for System.Exit and System.Process.

Safe HaskellNone
LanguageHaskell2010

Sys.StdStream

Documentation

data StdStream Source

Constructors

Inherit

Inherit Handle from parent

UseHandle Handle

Use the supplied Handle

CreatePipe

Create a new pipe. The returned Handle will use the default encoding and newline translation mode (just like Handles created by openFile).

class AsStdStream p f s where Source

Minimal complete definition

Nothing

class AsInherit p f s where Source

Minimal complete definition

Nothing

Methods

_Inherit :: Optic' p f s () Source

Instances

class AsUseHandle p f s where Source

Minimal complete definition

Nothing

Methods

_UseHandle :: Optic' p f s Handle Source