1 2 3 4 5 6 7 8 9
#[macro_export] macro_rules! quiet_cmd { ($sh:expr, $cmd:literal) => { xshell::cmd!($sh, $cmd) .quiet() .ignore_stderr() .ignore_stdout() }; }