pub fn query_cli_version(binary: &str) -> Result<String, Error>Expand description
Run <binary> --version synchronously and return the stdout.
§Errors
Error::CliNotFound when the binary isn’t on PATH; Error::Io
on any other spawn/wait failure; Error::Process when the version
probe exits non-zero.