Ok, so I have a python script that I am running through ProcessBuilder. Everything is working fine. The issue I am having is whenever I pass arguments into the python script
Pass two separate arguments to ProcessBuilder instead of concatenating --arg1 and argumentValue:
ProcessBuilder builder = new ProcessBuilder("C:\\Python33\\python.exe",
"-u",
"C:\\...\\script.py,
"--arg1",
"argumentValue");
Otherwise the program to be executed will see a single argument --arg1 argumentValue that it does not recognise.