use std::process::Output; use tokio::process::Command; pub async fn command_output(command: &mut Command) -> std::io::Result { log::debug!("Shell command {:?}", command); let output = command.output().await; log::debug!("Output: {:?}", output); output }