Function pacaptr::exec::is_exe

source ·
pub fn is_exe(name: &str, path: &str) -> bool
Expand description

Checks if an executable exists by name (consult $PATH) or by path.

To check by one parameter only, pass "" to the other one.