Java, run another application in foreground

前端 未结 4 1342
南笙
南笙 2021-01-12 19:39

I want run another application from java code.

Runtime rt = Runtime.getRuntime();
Process pr = rt.exec(\"cmd.exe\");

Process is launched, b

4条回答
提交回复
热议问题