I would like to open a specific browser with Jython.
I believe this is how it is done with Java:
Runtime rt = Runtime.getRuntime();
rt.exec(new String[]{"cmd", "/c","start chrome http://www.stackoverflow.com"});
I've tried to convert the Java to Jython:
from java.lang import Runtime
Runtime = Runtime.getRuntime()
Runtime.exec("start chrome http://www.stackoverflow.com");
However, it fails:
java.io.IOException: java.io.IOException: Cannot run program "start": CreateProcess error=2,
The system cannot find the file specified in <script> at line number 3
BMXAA7837E - An error occured that prevented the TESTURL script for the LP23 launch point from running.
java.io.IOException: java.io.IOException: Cannot run program "start": CreateProcess error=2, The system
cannot find the file specified in <script> at line number 3
Is it possible to open a specific browser with Jython?