From b6092a2200016710094114a728906680a1c9b4c8 Mon Sep 17 00:00:00 2001 From: secher Date: Thu, 16 Feb 2012 14:37:46 +0000 Subject: [PATCH] *** empty log message *** --- src/CCC/Batch_BatchManager_eCCC.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CCC/Batch_BatchManager_eCCC.cxx b/src/CCC/Batch_BatchManager_eCCC.cxx index bb89036..f93a8f5 100644 --- a/src/CCC/Batch_BatchManager_eCCC.cxx +++ b/src/CCC/Batch_BatchManager_eCCC.cxx @@ -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()); -- 2.39.2