Module process

Overview

A module for working with processes.

This allows spawning child processes, capturing their output, and creating pipelines.

Tokio

This function is implemented using Tokio, and requires the Tokio runtime to be in scope.

Structs

Child

Representation of a child process spawned onto an event loop.

ChildStderr

The stderr stream for spawned children.

ChildStdin

The stdin stream for spawned children.

ChildStdout

The stdout stream for spawned children.

Command

This structure mimics the API of [std::process::Command] found in the

ExitStatus

The exit status from a completed child process

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.