I am using a thread to capture stream output from a process, and then outputting that stream to the eclipse console. The question I have is when to terminate the thread that
You can use VerboseProcess from jcabi-log (I'm a developer):
String name = new VerboseProcess( new ProcessBuilder("executable with output") ).stdout();
The only dependency you need:
com.jcabi jcabi-log 0.7.5