[][src]Trait creator_tools::error::CommandExt

pub trait CommandExt {
    fn output_err(self, print_logs: bool) -> Result<Output>;
}

Extension trait for Command that helps to wrap output and print logs from command execution.

Required methods

fn output_err(self, print_logs: bool) -> Result<Output>[src]

Executes the command as a child process, then captures an output and return it. If command termination wasn't successful wraps an output into error and return it.

Loading content...

Implementations on Foreign Types

impl CommandExt for Command[src]

Loading content...

Implementors

Loading content...