From: secher Date: Fri, 17 Feb 2012 10:41:13 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: V1_5_0b1~9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=fabeb82c480d4669e9064f7f9a282bbe94e6ab0f;p=tools%2Flibbatch.git *** empty log message *** --- diff --git a/src/CCC/Batch_BatchManager_eCCC.cxx b/src/CCC/Batch_BatchManager_eCCC.cxx index f93a8f5..5bfe26f 100644 --- a/src/CCC/Batch_BatchManager_eCCC.cxx +++ b/src/CCC/Batch_BatchManager_eCCC.cxx @@ -195,7 +195,7 @@ namespace Batch { string logFile = generateTemporaryFileName(string("CCC-querylog-id") + jobid.getReference()); // define command to query batch - string subCommand = string("bjobs ") + iss.str(); + string subCommand = string("bash -l -c \"bjobs ") + iss.str() + string("\""); string command = _protocol.getExecCommand(subCommand, _hostname, _username); command += " > "; command += logFile;