Salome HOME
projects
/
tools
/
libbatch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7d525d
)
Fix for the issue 0021727: [CEA 584] sending a Yacs graph from Windows to a cluster.
author
rnv
<rnv@opencascade.com>
Thu, 11 Oct 2012 10:18:09 +0000
(10:18 +0000)
committer
rnv
<rnv@opencascade.com>
Thu, 11 Oct 2012 10:18:09 +0000
(10:18 +0000)
src/Core/Batch_BatchManager_eClient.cxx
patch
|
blob
|
history
diff --git
a/src/Core/Batch_BatchManager_eClient.cxx
b/src/Core/Batch_BatchManager_eClient.cxx
index fa816fc5fc4f4524fa889749b10fe2b96d9a4cb9..c9a3951275c0e119251fe81daf69d16f8febf96c 100644
(file)
--- a/
src/Core/Batch_BatchManager_eClient.cxx
+++ b/
src/Core/Batch_BatchManager_eClient.cxx
@@
-113,7
+113,7
@@
namespace Batch {
// pscp does not preserve access permissions on files
string executable = string(params[EXECUTABLE]);
- executable = executable.substr(executable.rfind("
/
") + 1,executable.length());
+ executable = executable.substr(executable.rfind("
\\
") + 1,executable.length());
string subCommand = string("chmod u+x ") + string(params[TMPDIR]) + "/" + executable;
string command = _protocol.getExecCommand(subCommand, _hostname, _username);