From: Cédric Aguerre Date: Fri, 24 Oct 2014 14:35:29 +0000 (+0200) Subject: using the new salome command is even better X-Git-Tag: V7_5_0b1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f135f0aea76bd0ed1f87ecdb2bb6429942bad0a1;p=modules%2Fkernel.git using the new salome command is even better --- 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)