lib 1013692 sS apacheCommonsExec(S cmd) ctex { delegate CommandLine, DefaultExecutor, PumpStreamHandler to org.apache.commons.exec. CommandLine cmdLine = CommandLine.parse(cmd); new DefaultExecutor executor; new ByteArrayOutputStream baos; OutputStream stream = teeOutputStream(printOutputStream(), baos); PumpStreamHandler pump = new(stream, stream); executor.setStreamHandler(pump); print("Exit value: " + executor.execute(cmdLine)); ret fromUTF8(toByteArray(baos)); }