Watch and wait until the process has completed. Any output from the process will be written to the streams provided and the exit code will be returned when the process terminates.
@param out an OutputStream to receive data from the stdout stream
@param err an OutputStream to receive data from the stderr stream
@return exit code
@throws java.lang.InterruptedException
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.