* @param args
* @throws Exception
*/
public void run(CommandSession parent, String args[]) throws Exception {
CommandShellImpl commandProcessor = new CommandShellImpl();
// TODO: find out what the down side of not using a real ThreadIO implementation is.
commandProcessor.setThreadio(new ThreadIO(){
public void setStreams(InputStream in, PrintStream out, PrintStream err) {
}
public void close() {
}
});
commandProcessor.setConverter(new Support());
ClassLoader cl = Main.class.getClassLoader();
if (args.length > 0 && args[0].startsWith("--classpath=")) {
String base = args[0].substring("--classpath=".length());
List<URL> urls = getFiles(new File(base));