Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Synopsis
- data ProcessHandler = ProcessHandler {}
- _Handler :: Iso' ProcessHandler (Maybe Handle, Maybe Handle, Maybe Handle, ProcessHandle)
- hstdin :: Lens' ProcessHandler (Maybe Handle)
- hstdout :: Lens' ProcessHandler (Maybe Handle)
- hstderr :: Lens' ProcessHandler (Maybe Handle)
- hhandle :: Lens' ProcessHandler ProcessHandle
- defaultCreateProcess :: CreateProcess
Types
data ProcessHandler Source #
A convenient handler for the output of a createProcess
call.
This data containes 4 components:
- a handle to stdin if it was requested
- a handle to stdout if it was requested
- a handle to stderr if it was requested
- a process handle, containing a pid lock, information regarding ctcl-c delegation, and closed/open handle status info.
Isos
_Handler :: Iso' ProcessHandler (Maybe Handle, Maybe Handle, Maybe Handle, ProcessHandle) Source #
An iso between the ProcessHandler data and its product representation
Lenses
hhandle :: Lens' ProcessHandler ProcessHandle Source #
A lens into the process handle
Defaults
defaultCreateProcess :: CreateProcess Source #
A default for a CreateProcess