I want run another application from java code.
Runtime rt = Runtime.getRuntime();
Process pr = rt.exec("cmd.exe");
Process is launched, but in background. How to make it run in foreground?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…