From: caremoli Date: Fri, 30 May 2008 15:03:58 +0000 (+0000) Subject: CCAR: revert setting PYTHONINSPECT to the end of runSalome (must not be set X-Git-Tag: CCARexeccompoStart X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c1ec64e6e12019a6ca1d2bce4c250a69649d45f0;p=modules%2Fkernel.git CCAR: revert setting PYTHONINSPECT to the end of runSalome (must not be set when launching servers) --- diff --git a/bin/runSalome.py b/bin/runSalome.py index bdad9dcfd..dc256253e 100755 --- a/bin/runSalome.py +++ b/bin/runSalome.py @@ -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