X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2Fsalome_hydro%2Fpytel%2Flauncher.py;h=0c27934995e8db288261243f8c6e49e338c266fc;hb=d899b66b515f04d2e8522d8bb586693c22526914;hp=f1d2e3247c5605637dc138a7afd30a196eb4a8d3;hpb=f8d63aa71e35d1b2dad5000fa5d42675d860f2b0;p=modules%2Fhydrosolver.git diff --git a/src/salome_hydro/pytel/launcher.py b/src/salome_hydro/pytel/launcher.py index f1d2e32..0c27934 100644 --- a/src/salome_hydro/pytel/launcher.py +++ b/src/salome_hydro/pytel/launcher.py @@ -30,7 +30,7 @@ def run_pytel(param_dict): followed by data conversion scripts. """ interm_files = [] # Intermediate files that can eventually be deleted in the end - + # Get and eventually create working directory if "REPERTOIRE_TRAVAIL" in param_dict: wrkdir = param_dict["REPERTOIRE_TRAVAIL"] @@ -51,7 +51,7 @@ def run_pytel(param_dict): # Run the code itself code = param_dict["CODE"] - cmd += "$TELEMAC_DIR/scripts/python27/runcode.py -w %s -r $TELEMAC_DIR %s %s" % \ + cmd += "runcode.py -w %s %s %s" % \ (wrkdir, code, steering_filepath) cmd += " ; rc=$?"