When I execute a command using ProcessBuilder, how does it know where to look for that command? Using this hack/trick I\'ve modified my PATH variable (verified
If you want to take control of finding commands, then, well, take control of finding commands. Don't let ProcessBuilder search. Use your own code to find what you want to run, and then put an absolute pathname into the parameter to ProcessBuilder.