Salome HOME
Fix regression with multi-node schemas on clusters with blaunch internal protocol V7_2_1_BR V7_2_0 V7_2_0rc2
authorbarate <barate>
Wed, 24 Apr 2013 16:16:11 +0000 (16:16 +0000)
committerbarate <barate>
Wed, 24 Apr 2013 16:16:11 +0000 (16:16 +0000)
src/Container/SALOME_ContainerManager.cxx

index d174bce548459e0fcf3e8ec72db370dbb8e5467d..ae8f39a8fe2a46bbc5b49114f5acaa74334f3ba3 100644 (file)
@@ -515,7 +515,7 @@ SALOME_ContainerManager::LaunchContainer(const Engines::ContainerParameters& par
     command += " ";
     ASSERT(getenv("NSPORT"));
     command += getenv("NSPORT"); // port of CORBA name server
-    command += " ls /tmp >/dev/null 2>&1";
+    command += " \"ls /tmp >/dev/null 2>&1\"";
 
     // Launch remote command
     int status = system(command.c_str());
@@ -1309,7 +1309,7 @@ std::string SALOME_ContainerManager::getCommandToRunRemoteProcess(AccessProtocol
     command << "pbsdsh -o -h " << hostname << " ";
     break;
   case blaunch:
-    command << "blaunch " << hostname << " ";
+    command << "blaunch -no-shell " << hostname << " ";
     break;
   default:
     throw SALOME_Exception("Unknown protocol");