I'm trying to run a Python program from within Java using the following statement
Process p = Runtime.getRuntime().exec("python " + file);
Where file is a string "c:\user\test.py"
It throws me an exception
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
I made sure my system variable has an entry pointing to my python home directory.
please help