おまけ:RUSTでもzenity
--------------------------
use std::process::Command;
fn main() {
let output = Command::new("zenity")
.arg("--question")
.output().unwrap_or_else(|e| {
panic!("failed to execute process: {}", e)
});
if output.status.success() {
print!("Yes\n");
} else {
let s = String::from_utf8_lossy(&output.stderr);
print!("No, or Other :\n{}", s);
}
}
--------------------------