Package com.atlassian.bamboo.utils
Class Which
java.lang.Object
com.atlassian.bamboo.utils.Which
Finds an executable in the system environment
-
Method Summary
-
Method Details
-
execute
Find an executable in the system environment using `which`. Compatibility when the system is Windows by using the "WHERE" command.- Parameters:
executableName
- name of the executable- Returns:
- path
-