Operations for creating and interacting with sub-processes.
POSIX process support. See also the System.Cmd and System.Process
modules in the process package.
A collection of FFI declarations for interfacing with Win32.
A module adapting the functions from System.Process
A running process. The three type parameters provide the type of the
standard input, standard output, and standard error streams.
To interact with a Process
use the functions from the section
Interact with a process
Process a list of flags (usually obtained from
getArgs/expandArgsAt) with a mode. Returns
Left and an error message if the command line fails to parse,
or Right and the associated value.
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.
The exit status of a process
ICANON - Canonical input (erase and kill processing)
OPOST - Post-process output
CPU options impacting cryptography implementation and library
ProcessId, number of threads, parent ProcessId, process base priority,
path of executable file
The identifier of the CPU-time clock associated with the calling
process. For this clock, the value returned by getTime
represents the amount of execution time of the current process.