Skip to main content

run

Function run 

Source
pub fn run(command: &mut Command, step: &str) -> Result<(), String>
Expand description

Run command, reporting which step failed.

The step’s name and the command line are printed first. A task’s steps are the commands it wraps, so seeing which one is running — and being able to paste it back into a shell — is most of what makes a slow task legible.

A step inherits the terminal, so the tool’s own output — clippy’s diagnostics, nextest’s progress — reaches the contributor unchanged.