Re: python under java

2005-01-27 Thread Grig Gheorghiu
At a command prompt, do "which python" to see where the python binary lives. Then specify the full path to python in your exec() call, instead of just "python". What probably happens is that you don't have the python binary in your PATH when you run exec() from your Java code. Grig -- http://mail

python under java

2005-01-27 Thread motokoit
For some reason i need to start a python script from inside a java code. The technique is standard Process proc = Runtime.getRuntime().exec("python myscript.py") and so worked for months since yestarday the same instruction does not work but the line is correct because from the terminal pro