From: ana Date: Tue, 10 Nov 2015 14:53:36 +0000 (+0300) Subject: Windows: fix problem with launching containers X-Git-Tag: V7_7_0_WIN X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Ffix_for_770;p=modules%2Fkernel.git Windows: fix problem with launching containers --- 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