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

Control.Process.ProcessHandle

Synopsis

Documentation

data ProcessHandle #

A handle to a process, which can be used to wait for termination of the process using waitForProcess.

None of the process-creation functions in this library wait for termination: they all return a ProcessHandle which may be used to wait for the process later.

On Windows a second wait method can be used to block for event completion. This requires two handles. A process job handle and a events handle to monitor.

class GetProcessHandle a where Source #

Type class for values that can be viewed as a ProcessHandle.

class GetProcessHandle a => HasProcessHandle a where Source #

Type class for values with a lens into a ProcessHandle.

class ReviewProcessHandle a where Source #

Type class for values that can be constructed from a ProcessHandle.

class ReviewProcessHandle a => AsProcessHandle a where Source #

Type class for values with a prism into a ProcessHandle.