在eclipse中運行代碼:Process process = Runtime.getRuntime().exec("cmd /c emulator -avd OrangeAutoTest");我應用就會暫停,我還關(guān)不了cmd窗口。
1 回答

慕桂英4014372
TA貢獻1871條經(jīng)驗 獲得超13個贊
我找到解決方法了
Runtime.getRuntime().exec("cmd /c start cmd.exe /K emulator -avd OrangeAutoTest");
添加回答
舉報
0/150
提交
取消