58,446
社区成员
发帖
与我相关
我的任务
分享
public static void openExe(String command) {
Runtime rn = Runtime.getRuntime();
Process p = null;
try {
p = rn.exec(command);
} catch (Exception e) {
e.printStackTrace();
System.out.println("Error exec!");
System.out.println(e.getMessage());
}
}