exitcode-0.1.0.6: Monad transformer for exit codes
Safe HaskellSafe-Inferred
LanguageHaskell2010

Control.Process.StdStream

Documentation

data StdStream #

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).

NoStream

Close the stream's file descriptor without passing a Handle. On POSIX systems this may lead to strange behavior in the child process because attempting to read or write after the file has been closed throws an error. This should only be used with child processes that don't use the file descriptor at all. If you wish to ignore the child process's output you should either create a pipe and drain it manually or pass a Handle that writes to /dev/null.

class HasStdStream a where Source #

Instances

Instances details
HasStdStream StdStream Source # 
Instance details

Defined in Control.Process.StdStream