0000528: Need a way to reset the Python instance

git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5250 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
This commit is contained in:
wmayer
2011-12-10 13:42:32 +00:00
parent 847a9aad5e
commit 1884ee3881
5 changed files with 35 additions and 9 deletions

View File

@@ -221,7 +221,7 @@ void MacroManager::run(MacroType eType,const char *sName)
PythonRedirector std_out("stdout",new OutputStdout);
PythonRedirector std_err("stderr",new OutputStderr);
//The given path name is expected to be Utf-8
Base::Interpreter().runFile(sName);
Base::Interpreter().runFile(sName, true);
}
catch (const Base::Exception& e)
{