Module std::old_io::processUnstable [-] [+] [src]

Bindings for executing child processes

Reexports

pub use self::StdioContainer::*;
pub use self::ProcessExit::*;

Structs

Command

The Command type acts as a process builder, providing fine-grained control over how a new process should be spawned. A default configuration can be generated using Command::new(program), where program gives a path to the program to be executed. Additional builder methods allow the configuration to be changed (for example, by adding arguments) prior to spawning:

Process

Representation of a running or exited child process.

ProcessOutput

The output of a finished process.

Enums

ProcessExit

Describes the result of a process after it has terminated. Note that Windows have no signals, so the result is usually ExitStatus.

StdioContainer

Describes what to do with a standard io stream for a child process.

Constants

MustDieSignal

Signal a process to exit immediately, forcibly killing it. Corresponds to SIGKILL on unix platforms.

PleaseExitSignal

Signal a process to exit, without forcibly killing it. Corresponds to SIGTERM on unix platforms.

Type Definitions

EnvMap

A HashMap representation of environment variables.