Find the path to an executable, similar to typing which in your terminal. Reads the PATH environment variable unless overridden with options.PATH.