setOut() and redirectOutput() together
weijun.wang at oracle.com
Thu May 28 10:43:20 UTC 2015
I am writing something like this
ByteArrayOutputStream bout = new ByteArrayOutputStream();
ProcessBuilder pb1 = new ProcessBuilder("./native-app");
Now "Hello" no longer shows on screen, but the output of "native-app"
still shows up there. What else shall I do?
This is Ubuntu 14.04.2.
More information about the core-libs-dev