Salome HOME
*** empty log message ***
authorsecher <secher>
Thu, 16 Feb 2012 14:37:46 +0000 (14:37 +0000)
committersecher <secher>
Thu, 16 Feb 2012 14:37:46 +0000 (14:37 +0000)
src/CCC/Batch_BatchManager_eCCC.cxx

index bb890364b118f7908bc4e89baa991fcac27b05b7..f93a8f568329d6407233eb76e7c96226b8134a65 100644 (file)
@@ -94,7 +94,7 @@ namespace Batch {
     string logFile = generateTemporaryFileName("CCC-submitlog");
 
     // define command to submit batch
-    string subCommand = string('bash -l -c "cd ') + workDir + '; ccc_msub ' + fileNameToExecute + '_Batch.sh"';
+    string subCommand = string("bash -l -c \"cd ") + workDir + "; ccc_msub " + fileNameToExecute + "_Batch.sh\"";
     string command = _protocol.getExecCommand(subCommand, _hostname, _username);
     command += " > ";
     command += logFile;
@@ -143,7 +143,7 @@ namespace Batch {
     iss >> ref;
 
     // define command to delete batch
-    string subCommand = string('bash -l -c "ccc_mdel ') + iss.str() + string('"');
+    string subCommand = string("bash -l -c \"ccc_mdel ") + iss.str() + string("\"");
     string command = _protocol.getExecCommand(subCommand, _hostname, _username);
     cerr << command.c_str() << endl;
     status = system(command.c_str());