From: abd Date: Wed, 24 May 2006 11:44:44 +0000 (+0000) Subject: Updare for path with space X-Git-Tag: LAST_STABLE_VERSION_21_09_2006_ON_3_2_0~40 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0e6ef1fb5ea0e4d741b1686f68cde6bca0f0640e;p=modules%2Fkernel.git Updare for path with space --- diff --git a/bin/runSalome.py b/bin/runSalome.py index 31bb8208c..e6cb6a1c8 100755 --- a/bin/runSalome.py +++ b/bin/runSalome.py @@ -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'] # ---