161162163164165166167168169170171
} else { // We are going into full blown interactive shell mode. session.run(); } } finally { terminalFactory.destroy(); } } /** * Allow sub classes of main to change the ConsoleImpl implementation used.