python under java2

2005-02-06 Thread motokoit
For some reason i need to start a python script from inside a java code. The main part of the code is something like this try{ Runtime rt = Runtime.getRuntime(); System.out.println("start"); Process proc = Runtime.getRuntime().exec("python myscript.py"); proc.waitFor(); System.out.

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