From aa0007374b0215082804dea3984b2f03183e7038 Mon Sep 17 00:00:00 2001 From: vsr Date: Tue, 21 Nov 2006 12:08:06 +0000 Subject: [PATCH] Integrate fix from Jean RAHUEL: enable killall module importing with the --terminal parameter --- bin/runSalome.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bin/runSalome.py b/bin/runSalome.py index 7c02ebbf4..e681c7445 100755 --- a/bin/runSalome.py +++ b/bin/runSalome.py @@ -830,13 +830,14 @@ def useSalome(args, modules_list, modules_root_dir): i = 0 while i < len( toimport ) : if toimport[ i ] == 'killall': - print "killall : option disabled" - #killAllPorts() + killAllPorts() + import sys + sys.exit(0) else: print 'importing',toimport[ i ] doimport = 'import ' + toimport[ i ] exec doimport - i = i + 1 + i = i + 1 return clt -- 2.39.2