Module process

Source
Available on unstable only.
Expand description

A module for working with processes.

This module is mostly concerned with spawning and interacting with child processes, but it also provides abort and exit for terminating the current process.

This is an async version of std::process.

Structs§

Child
A spawned child process.
ChildStderr
A handle to a child process’s standard error (stderr).
ChildStdin
A handle to a child process’s standard input (stdin).
ChildStdout
A handle to a child process’s standard output (stdout).
Command
A builder for spawning processes.
ExitStatus
Describes the result of a process after it has terminated.
Output
The output of a finished process.
Stdio
Describes what to do with a standard I/O stream for a child process when passed to the stdin, stdout, and stderr methods of Command.

Functions§

abort
Terminates the process in an abnormal fashion.
exit
Terminates the current process with the specified exit code.
id
Returns the OS-assigned process identifier associated with this process.