]> SALOME platform Git repositories - tools/libbatch.git/commitdiff
Salome HOME
*** empty log message ***
authorsecher <secher>
Fri, 17 Feb 2012 10:41:13 +0000 (10:41 +0000)
committersecher <secher>
Fri, 17 Feb 2012 10:41:13 +0000 (10:41 +0000)
src/CCC/Batch_BatchManager_eCCC.cxx

index f93a8f568329d6407233eb76e7c96226b8134a65..5bfe26fbfab0213a6bfffc50dc7f61200b9d4929 100644 (file)
@@ -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;