properties.setProperty("python.path", StaticConfiguration.FORMATTER_DIR);
PythonInterpreter.initialize(System.getProperties(), properties, new String[]{""});
PythonInterpreter interp = new PythonInterpreter(new org.python.core.PyStringMap(), new org.python.core.PySystemState());
interp.setOut(outputs);
interp.setErr(outputs);
interp.cleanup();
//java -cp %JYTHON_HOME%\jython.jar -Dpython.home=%JYTHON_HOME% -Dpython.path=%FORMATTER_DIR% org.python.util.jython %JYTHON_HOME%\Lib\pythondoc.py -f -s -Otestscriptdoc_xmlformatter -Dtestsuite_dir=%TEST_SUITE_DIR% !TEST_SCRIPTS!
String args = "import sys;sys.argv[1:]= ['-f', '-s', '-Otestscriptdoc_xmlformatter', '-Dtestsuite_dir=" + testSuiteDir.replace(File.separator, "/") + "'," + testScriptsList.toString().replace(File.separator, "/") + "]";
System.out.println(args);
interp.exec(args);
interp.exec("__name__ = '__main__'");