Crate command_run

source ·
Expand description

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§

Enums§