From: srn Date: Wed, 19 Apr 2006 10:11:48 +0000 (+0000) Subject: BugID: 12199. Move a following line: X-Git-Tag: V2_2_9~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4234dcf1d1e3393f87558a758604249b744d4f68;p=modules%2Fkernel.git BugID: 12199. Move a following line: session=clt.waitNSPID("/Kernel/Session",mySessionServ.PID,SALOME.Session) after launching the CPP, Py and Supervision containers --- diff --git a/bin/runSalome.py b/bin/runSalome.py index 1cff35891..572589ff8 100755 --- a/bin/runSalome.py +++ b/bin/runSalome.py @@ -592,12 +592,6 @@ def startSalome(args, modules_list, modules_root_dir): #macomm2=['ddd'] #pid = os.spawnvp(os.P_NOWAIT, macomm2[0], macomm2) - # - # Attente de la disponibilite du Session Server dans le Naming Service - # - - import SALOME - session=clt.waitNSPID("/Kernel/Session",mySessionServ.PID,SALOME.Session) from Utils_Identity import getShortHostName @@ -630,6 +624,7 @@ def startSalome(args, modules_list, modules_root_dir): myServer.run() clt.waitNSPID("/Containers/" + theComputer + "/FactoryServerPy",myServer.PID) + # # Lancement Container Supervision local, # attente de la disponibilite du Container Supervision local @@ -641,6 +636,13 @@ def startSalome(args, modules_list, modules_root_dir): myServer.run() clt.waitNSPID("/Containers/" + theComputer + "/SuperVisionContainer",myServer.PID) + # + # Attente de la disponibilite du Session Server dans le Naming Service + # + + import SALOME + session=clt.waitNSPID("/Kernel/Session",mySessionServ.PID,SALOME.Session) + end_time = os.times() print print "Start SALOME, elapsed time : %5.1f seconds"% (end_time[4]