question: public static Process execute ( ProcessBuilder pb , LineConsumer consumer ) throws IOException { pb . redirectErrorStream ( true ) ; Process process = pb . start ( ) ; process ( process , consumer ) ; return process ; }
target:  Start the process, writing the stdout and stderr to consumer.