/** * Executes the given command and returns a transcript of stderr and stdout * * @param command the command to execute * @return the transcript of stderr and stdout produced by the executed command * @throws ExecException in case the external program fails or returns an exit code other than 0. */ public static String exec(String command) throws ExecException { return exec(command, false); }
exec.exec(stmt); conn.commit();