title: Java Process Builder redirect output works in Eclipse, not as jar
body: <p>I'm using the process builder to launch new main classes. I do <code>builder.inheritIO();</code> and it works in Eclipse (stdout and stderr redirect to the single console). However, when I export a jar, the the output doesn't redirect (only original process output showing). I'm on Java 7. Any ideas where I should look at?</p>
  
  <p>Some code:</p>
  
  <pre><code>ProcessBuilder builder = new ProcessBuilder(arr);
  //builder.redirectOutput();
  //builder.redirectError();
  //builder.redirectOutput(ProcessBuilder.Redirect.INHERIT);
  // those don't work either
  builder.inheritIO();
  Process p = builder.start();
  </code></pre>