From a07d7b2a25c075866da528ef5e4df85c6679eb32 Mon Sep 17 00:00:00 2001 From: barate Date: Wed, 24 Apr 2013 16:16:11 +0000 Subject: [PATCH] Fix regression with multi-node schemas on clusters with blaunch internal protocol --- src/Container/SALOME_ContainerManager.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"); -- 2.39.2