Logger logger = new MyLogger();
logger.addHandler(new ConsoleHandler());
System.out.println("wrapped process: executing pre script " + preScript);
Script script = ScriptFactory.createScript(preScript, "", null, new String[0], null, 0);
if (script != null)
script.execute();
else
System.out.println("wrapped process: executing pre script error: could not open script");
}
catch (Throwable ex)
{