]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Add running command to kill list
authorvsr <vsr@opencascade.com>
Fri, 10 Jan 2014 15:03:15 +0000 (15:03 +0000)
committervsr <vsr@opencascade.com>
Fri, 10 Jan 2014 15:03:15 +0000 (15:03 +0000)
bin/runSalome.py

index 62252e6e2c8671ded5e51b14ffcc1e76f5f9c883..4b3a42530b4ae5ac20ea08daef29269a0caad9b4 100755 (executable)
@@ -777,6 +777,7 @@ def useSalome(args, modules_list, modules_root_dir):
         command = formatScriptsAndArgs(toimport)
         if command:
             proc = subprocess.Popen(command, shell=True)
+            addToKillList(proc.pid, command, args['port'])
             res = proc.wait()
             if res: sys.exit(1) # if there's an error when executing script, we should explicitly exit