Function wallswitch::exec_cmd
source ยท pub fn exec_cmd(
cmd: &mut Command,
config: &Config,
msg: &str,
) -> MyResult<Output>Expand description
Executes the command as a child process, waiting for it to finish and collecting all of its output.