]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
CCAR:bad error redirection
authorcaremoli <caremoli>
Wed, 19 May 2010 14:42:22 +0000 (14:42 +0000)
committercaremoli <caremoli>
Wed, 19 May 2010 14:42:22 +0000 (14:42 +0000)
src/LifeCycleCORBA/SALOME_LifeCycleCORBA.cxx

index aec99bcfe1633c6a52b1746150c2e36275888af6..4c5c2436086f425b80a7963fc03459485d6f66ab 100644 (file)
@@ -718,7 +718,7 @@ void SALOME_LifeCycleCORBA::killOmniNames()
   {
     std::string cmd = ("from killSalomeWithPort import killNotifdAndClean; ");
     cmd += std::string("killNotifdAndClean(") + portNumber + "); ";
-    cmd  = std::string("python -c \"") + cmd +"\" >& /dev/null";
+    cmd  = std::string("python -c \"") + cmd +"\" > /dev/null 2> /dev/null";
     MESSAGE(cmd);
     system( cmd.c_str() );
   }