I am passing string values to a python script from java. In my python script i am using the parameters but i could not able to read the 2 values.Plz help
Java Code:
String filePath = "E:\\Project_ivin\\test.py";
ProcessBuilder pb = new ProcessBuilder().command("python", "-u", filePath, ""+issueId+""+comments);
Process p = pb.start();
python script:
sys.argv[1] # issueid
sys.argv[2] # comments