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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user