Macro libcoreinst::runcmd [−][src]
macro_rules! runcmd { ($cmd : expr) => { ... }; ($cmd : expr, $($args : expr), *) => { ... }; }
Expand description
Runs the provided command. The first macro argument is the executable, and following arguments are passed to the command. Returns a Result<()> describing whether the command failed. Errors are adequately prefixed with the full command.