From 14037e93938dfa1fd2c231f3a9cd7aa2f5941c12 Mon Sep 17 00:00:00 2001 From: adam Date: Tue, 8 Sep 2009 12:48:16 +0000 Subject: [PATCH] windows port : the sring in execfile must be protected to avoid interpretation of letter ... --- src/SalomeApp/SalomeApp_NoteBookDlg.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SalomeApp/SalomeApp_NoteBookDlg.cxx b/src/SalomeApp/SalomeApp_NoteBookDlg.cxx index 84fd756e4..c4cd89edb 100644 --- a/src/SalomeApp/SalomeApp_NoteBookDlg.cxx +++ b/src/SalomeApp/SalomeApp_NoteBookDlg.cxx @@ -1002,7 +1002,7 @@ bool SalomeApp_NoteBookDlg::updateStudy() app = dynamic_cast( SUIT_Session::session()->activeApplication() ); // load study from the temporary directory - QString command = QString( "execfile(\"%1\")" ).arg( aTmpDir + QDir::separator() + aFileName + ".py" ); + QString command = QString( "execfile(r\"%1\")" ).arg( aTmpDir + QDir::separator() + aFileName + ".py" ); PyConsole_Console* pyConsole = app->pythonConsole(); if ( pyConsole ) -- 2.39.2