pub fn tool_exists(program: &str) -> bool
Check if a tool is available (in PATH or as absolute path). Cross-platform: uses which on Unix, where on Windows.
which
where