From f135f0aea76bd0ed1f87ecdb2bb6429942bad0a1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9dric=20Aguerre?= Date: Fri, 24 Oct 2014 16:35:29 +0200 Subject: [PATCH] using the new salome command is even better --- bin/runSession.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/runSession.py b/bin/runSession.py index 5d5f71886..64c8b6541 100644 --- a/bin/runSession.py +++ b/bin/runSession.py @@ -244,10 +244,10 @@ def __runRemoteSession(sa_obj, params): tmp_in, tmp_out, tmp_script = __copyFiles(params.user, params.machine, script, sa_obj.args or [], sa_obj.out or []) # execute command on the remote SALOME application - command = "ssh %s@%s %s/runSession " % (params.user, params.machine, params.directory) + command = "ssh %s@%s %s/salome shell " % (params.user, params.machine, params.directory) if params.port: command = command + "-p %s "%params.port - command = command + " ".join([header,tmp_script] + tmp_in) + command = command + " %s %s args:%s"%(header, tmp_script, ",".join(tmp_in)) print '[ SSH ] ' + command os.system(command) -- 2.39.2