Whether I use this:
process = Runtime.getRuntime().exec(\"logcat -d time\");
or that:
process = new ProcessBuilder()
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.