From 8aa050f391482ff915f5a1e282a9a728225fc5e1 Mon Sep 17 00:00:00 2001 From: caremoli Date: Wed, 19 May 2010 14:42:22 +0000 Subject: [PATCH] CCAR:bad error redirection --- src/LifeCycleCORBA/SALOME_LifeCycleCORBA.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LifeCycleCORBA/SALOME_LifeCycleCORBA.cxx b/src/LifeCycleCORBA/SALOME_LifeCycleCORBA.cxx index aec99bcfe..4c5c24360 100644 --- a/src/LifeCycleCORBA/SALOME_LifeCycleCORBA.cxx +++ b/src/LifeCycleCORBA/SALOME_LifeCycleCORBA.cxx @@ -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() ); } -- 2.39.2