pub trait CommandExt {
    fn print_verbose(&self, verbose: bool);
    fn status_result(
        &self,
        verbose: bool,
        status: ExitStatus,
        output: Option<&Output>
    ) -> Result<(), CommandError>; fn run(
        &mut self,
        verbose: bool,
        silence_stdout: bool
    ) -> Result<(), CommandError>; fn run_and_get_status(
        &mut self,
        verbose: bool,
        silence_stdout: bool
    ) -> Result<ExitStatus, CommandError>; fn run_and_get_stdout(&mut self, verbose: bool) -> Result<String>; fn run_and_get_output(&mut self, verbose: bool) -> Result<Output>; fn command_pretty(
        &self,
        verbose: bool,
        strip: impl for<'a> Fn(&'a str) -> bool
    ) -> String; }

Required Methods

Implementations on Foreign Types

Runs the command to completion

Runs the command to completion

Runs the command to completion and returns its stdout

Runs the command to completion and returns the status and its output.

Notes

This command does not check the status.

Implementors