which library

Functions

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