pub async fn run(
command: &'static str,
args: &[&str],
timeout: Duration,
) -> Result<Output, CommandError>Expand description
Runs a command and collects its output.
§Errors
Returns an error if the command can’t start or runs longer than
timeout.