- new Thread(new Runnable() {
-
- @Override
- public void run() {
- try {
- ByteStreams.copy(processOutput, pipedOutputStream);
- } catch (IOException ioe1) {
- /* okay, just exit. */
- }
- logger.finest("Reading stdout finished.");
- }
- }).start();