在eclipse中运行代码:Process process = Runtime.getRuntime().exec("cmd /c emulator -avd OrangeAutoTest");我应用就会暂停,我还关不了cmd窗口。
1 回答

慕桂英4014372
TA贡献1871条经验 获得超13个赞
我找到解决方法了
Runtime.getRuntime().exec("cmd /c start cmd.exe /K emulator -avd OrangeAutoTest");
添加回答
举报
0/150
提交
取消