Longer execution through Java shell than console?
- by czuk
I have a script in Python which do some computations. When I run this script in console it takes about 7 minutes to complete but when I run it thought Java shell it takes three times longer. I use following code to execute the script in Java:
this.p = Runtime.getRuntime().exec("script.py --batch", envp);
this.input = new BufferedReader(new…