From: vsr Date: Tue, 21 Nov 2006 12:08:06 +0000 (+0000) Subject: Integrate fix from Jean RAHUEL: enable killall module importing with the --terminal... X-Git-Tag: V3_2_3pre4~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=aa0007374b0215082804dea3984b2f03183e7038;p=modules%2Fkernel.git Integrate fix from Jean RAHUEL: enable killall module importing with the --terminal parameter --- 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