which library

Functions

which(String command, {Map<String, String>? environment, bool includeParentEnvironment = true}) Future<String?>
Find the command according to the paths or env variables (PATH)
whichSync(String command, {Map<String, String>? environment, bool includeParentEnvironment = true}) String?
Find the command according to the paths or env variables (PATH)