Salome HOME
Python container is obsolete
[modules/kernel.git] / bin / runSalome.py
index 311d945ee8969dd5efd6f9bf93d63e07ea6e1422..62252e6e2c8671ded5e51b14ffcc1e76f5f9c883 100755 (executable)
@@ -614,11 +614,6 @@ def startSalome(args, modules_list, modules_root_dir):
         else:
           clt.waitNSPID("/Containers/" + theComputer + "/FactoryServer",myServer.PID)
 
-    #
-    # Launch local Python Container (FactoryServerPy),
-    # and wait until it is registered in naming service
-    #
-
     if 'pyContainer' in args['standalone']:
         raise Exception('Python containers no longer supported')
 
@@ -783,7 +778,7 @@ def useSalome(args, modules_list, modules_root_dir):
         if command:
             proc = subprocess.Popen(command, shell=True)
             res = proc.wait()
-            if not res: sys.exit(1) # if there's an error when executing script, we should explicitly exit
+            if res: sys.exit(1) # if there's an error when executing script, we should explicitly exit
 
     return clt