]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
CCAR: revert setting PYTHONINSPECT to the end of runSalome (must not be set CCARexeccompoStart
authorcaremoli <caremoli>
Fri, 30 May 2008 15:03:58 +0000 (15:03 +0000)
committercaremoli <caremoli>
Fri, 30 May 2008 15:03:58 +0000 (15:03 +0000)
when launching servers)

bin/runSalome.py

index bdad9dcfd32aff7d1b14e160ce5d10e7cfce8100..dc256253e35f154b40fd1781d2d6efcafb1cecbe 100755 (executable)
@@ -387,11 +387,6 @@ def startSalome(args, modules_list, modules_root_dir):
     init_time = os.times()
 
     if verbose(): print "startSalome ", args
-
-    # set PYTHONINSPECT variable
-    if args['pinter']:
-        os.environ["PYTHONINSPECT"]="1"
-        import readline
     
     #
     # Initialisation ORB et Naming Service
@@ -599,6 +594,10 @@ def startSalome(args, modules_list, modules_root_dir):
             anInterp=InterpServer(args)
             anInterp.run()
 
+    # set PYTHONINSPECT variable
+    if args['pinter']:
+        os.environ["PYTHONINSPECT"]="1"
+        import readline
         
     return clt