Skip to main content

which

Function which 

Source
pub async fn which(command: &str) -> Option<String>
Expand description

Async version of which - finds the full path to a command executable. On Windows, uses where.exe. On POSIX systems, uses which.