[][src]Crate command_run

Utility for running a command in a subprocess.

The Command type is a wrapper around the std::process::Command type that adds a few convenient features:

  • Print or log the command before running it
  • Optionally return an error if the command is not successful
  • The command can be formatted as a command-line string
  • The Command type can be cloned and its fields are public

Structs

Command

A command to run in a subprocess and options for how it is run.

Error

Error returned by Command::run.

Output

The output of a finished process.

Enums

ErrorKind

Type of error.

LogTo

Where log messages go.