From 7cbd321cca7d973ade72e2d006a52244a947c0ed Mon Sep 17 00:00:00 2001 From: ana Date: Wed, 11 Dec 2013 13:02:51 +0000 Subject: [PATCH] small fix for previous integration --- src/LifeCycleCORBA/SALOME_LifeCycleCORBA.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/LifeCycleCORBA/SALOME_LifeCycleCORBA.cxx b/src/LifeCycleCORBA/SALOME_LifeCycleCORBA.cxx index ae0520f52..e6ba9ee6c 100644 --- a/src/LifeCycleCORBA/SALOME_LifeCycleCORBA.cxx +++ b/src/LifeCycleCORBA/SALOME_LifeCycleCORBA.cxx @@ -614,19 +614,19 @@ void SALOME_LifeCycleCORBA::killOmniNames() // NPAL 18309 (Kill Notifd) std::string python_exe; + + python_exe = std::string("python"); #ifdef WIN32 #ifdef _DEBUG_ - python_exe = std::string("python_d"); + python_exe += std::string("_d"); #endif -#else - python_exe = std::string("python"); #endif if ( !portNumber.empty() ) { std::string cmd = ("from killSalomeWithPort import killNotifdAndClean; "); cmd += std::string("killNotifdAndClean(") + portNumber + "); "; - cmd = python_exe + std::string(" -c \"") + cmd; // +"\" > /dev/null 2> /dev/null"; + cmd = python_exe + std::string(" -c \"") + cmd +"\" > /dev/null 2> /dev/null"; MESSAGE(cmd); system( cmd.c_str() ); } -- 2.39.2