private static void inheritIO()

in src/main/groovy/com/epam/atg/gradle/assemble/RunAssemblerExecutor.groovy [84:93]


    private static void inheritIO(InputStream src, PrintStream dest) {
        new Thread(new Runnable() {
            void run() {
                Scanner sc = new Scanner(src)
                while (sc.hasNextLine()) {
                    dest.println(sc.nextLine())
                }
            }
        }).start()
    }