#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
myServer.run()
clt.waitNSPID("/Containers/" + theComputer + "/FactoryServerPy",myServer.PID)
+
#
# Lancement Container Supervision local,
# attente de la disponibilite du Container Supervision local
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]