lib 1013692 // apache commons exec import org.apache.commons.exec.*; // returns exit value static int apacheCommonsExec_backtickToConsole(S cmd) ctex { CommandLine cmdLine = CommandLine.parse(cmd); new DefaultExecutor executor; PumpStreamHandler pump = new(printOutputStream(), printOutputStream()); executor.setStreamHandler(pump); int exitValue = executor.execute(cmdLine); print("Exit value: " + exitValue); ret exitValue; }