From 0e6ef1fb5ea0e4d741b1686f68cde6bca0f0640e Mon Sep 17 00:00:00 2001 From: abd Date: Wed, 24 May 2006 11:44:44 +0000 Subject: [PATCH] Updare for path with space --- bin/runSalome.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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'] # --- -- 2.30.2