]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Updare for path with space
authorabd <abd@opencascade.com>
Wed, 24 May 2006 11:44:44 +0000 (11:44 +0000)
committerabd <abd@opencascade.com>
Wed, 24 May 2006 11:44:44 +0000 (11:44 +0000)
bin/runSalome.py

index 31bb8208cd3ad9da8fdc44a291dd5e51ed2139e2..e6cb6a1c8f156496df837fec501662dd3565eeb5 100755 (executable)
@@ -146,10 +146,10 @@ class ContainerPYServer(Server):
     def __init__(self,args):
         self.args=args
         self.initArgs()
-#      if sys.platform == "win32":
-#          self.CMD=[os.environ["PYTHONBIN"], os.environ["KERNEL_ROOT_DIR"] + '/win32/python/SALOME_ContainerPy.py','FactoryServerPy']
-#      else:
-        self.CMD=['SALOME_ContainerPy.py','FactoryServerPy']
+       if sys.platform == "win32":
+          self.CMD=[os.environ["PYTHONBIN"], '\"'+os.environ["KERNEL_ROOT_DIR"] + '/bin/salome/SALOME_ContainerPy.py'+'\"','FactoryServerPy']
+       else:
+          self.CMD=['SALOME_ContainerPy.py','FactoryServerPy']
 
 # ---