From e29b9b2cdee1b477cf02fe69ad1ef011e27ece7b Mon Sep 17 00:00:00 2001 From: ana Date: Tue, 10 Nov 2015 17:53:36 +0300 Subject: [PATCH] Windows: fix problem with launching containers --- src/Container/SALOME_ContainerManager.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Container/SALOME_ContainerManager.cxx b/src/Container/SALOME_ContainerManager.cxx index 0072c2443..36b5df43e 100644 --- a/src/Container/SALOME_ContainerManager.cxx +++ b/src/Container/SALOME_ContainerManager.cxx @@ -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 -- 2.39.2