@Override
		public void run() {
			String line = null;
			try {
				while ((line = shellOutput.readLine()) != null) {
					System.out.println(line);
				}
			}
			catch (Exception e) {
				e.printStackTrace();
			}

		}
Thread to read from an input stream and write it to stdout.
Ghidra/Features/Base/src/test/java/ghidra/test/JavaCompiler.java