Macro libcoreinst::runcmd_output
source ยท macro_rules! runcmd_output { ($cmd:expr) => { ... }; ($cmd:expr, $($args:expr),*) => { ... }; }
Expand description
Runs the provided command, captures its stdout, and swallows its stderr except on failure.
The first macro argument is the executable, and following arguments are passed to the command.
Returns a Result