Hey I tried to open IE from a java program.
the command start iexplorer
works on command prompt and terminal but when used in a java program throws a IOException. When I execute the command cmd start iexplorer
the program is just running without stopping for almost 15 minutes
String command = "cmd start iexplore";
try {
Process p = Runtime.getRuntime().exec(command);
p.waitFor();
} catch (IOException e) {
e.printStackTrace();
} catch (InterruptedException e) {
e.printStackTrace();
}
This is the call stack of from VScode: image
can someone help me with this please