pub fn command_exists(program: &str) -> bool
Check if a program is on PATH. Uses which on unix, where.exe on windows.
which
where.exe