执行cmd命令启动模拟器

在eclipse中运行代码:

Process process = Runtime.getRuntime().exec("cmd /c emulator -avd OrangeAutoTest");

我应用就会暂停,我还关不了cmd窗口。

我找到解决方法了

Runtime.getRuntime().exec("cmd /c start cmd.exe /K emulator -avd OrangeAutoTest");