wgvirtipd/src/helpers.rs
2024-01-22 13:07:03 +01:00

9 lines
279 B
Rust

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