]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Windows: fix problem with launching containers fix_for_770 V7_7_0_WIN
authorana <ana@opencascade.com>
Tue, 10 Nov 2015 14:53:36 +0000 (17:53 +0300)
committerana <ana@opencascade.com>
Tue, 10 Nov 2015 14:53:36 +0000 (17:53 +0300)
src/Container/SALOME_ContainerManager.cxx

index 0072c24435fef010576eab033c04b47570598671..36b5df43e39e763d70a5f871f4c7644ee5d33131 100644 (file)
@@ -1000,7 +1000,7 @@ void SALOME_ContainerManager::AddOmninamesParams(std::ostream& fileStream, SALOM
 void SALOME_ContainerManager::MakeTheCommandToBeLaunchedASync(std::string& command)
 {
 #ifdef WIN32
-    command = "%PYTHONBIN% -c \"import subprocess ; subprocess.Popen(command).pid\"";
+    command = "%PYTHONBIN% -c \"import subprocess ; subprocess.Popen(r'" + command + "').pid\"";
 #else
     command += " &";
 #endif