public static Thread start(final InputStream in, final OutputStream out) {
        final Thread thread = new Thread(new ConsoleConsumer(in, out), "WildFly-Console-Consumer");
        thread.setDaemon(true);
        thread.start();
        return thread;
    }
public static Thread start ( final InputStream in , final OutputStream out ) { final Thread thread = new Thread ( new ConsoleConsumer ( in , out ) , "WildFly-Console-Consumer" ) ; thread . setDaemon ( true ) ; thread . start ( ) ; return thread ; }
Creates and starts a daemon thread which pipes int {@link InputStream} to the {@link OutputStream}.

@param in  the input stream that should be pipped
@param out the output stream where the data should be written

@return the thread that was started