Runtime.exec() bug: hangs without providing a Process object

前端 未结 4 1227
不知归路
不知归路 2020-12-05 05:37

Whether I use this:

process = Runtime.getRuntime().exec(\"logcat -d time\");

or that:

process = new ProcessBuilder()
               


        
4条回答
  •  难免孤独
    2020-12-05 05:57

    This problem is fixed in Jelly Bean (Android 4.1) but not in ICS (4.0.4) and I guess it will never be fixed in ICS.

提交回复
热议问题