pub fn resolve_binary(command: &str) -> Option<PathBuf>
Find command the way a shell would: as a path if it looks like one, otherwise by walking PATH.
command
PATH