From: barate Date: Wed, 24 Apr 2013 16:16:11 +0000 (+0000) Subject: Fix regression with multi-node schemas on clusters with blaunch internal protocol X-Git-Tag: V7_2_0 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a07d7b2a25c075866da528ef5e4df85c6679eb32;p=modules%2Fkernel.git Fix regression with multi-node schemas on clusters with blaunch internal protocol --- diff --git a/src/Container/SALOME_ContainerManager.cxx b/src/Container/SALOME_ContainerManager.cxx index d174bce54..ae8f39a8f 100644 --- a/src/Container/SALOME_ContainerManager.cxx +++ b/src/Container/SALOME_ContainerManager.cxx @@ -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");