From 3953da8b9989c43448da5ced95291198a6620827 Mon Sep 17 00:00:00 2001 From: abd Date: Thu, 25 May 2006 04:24:27 +0000 Subject: [PATCH] Updare for path with space --- bin/runSalome.py | 3 ++- src/ModuleCatalog/SALOME_ModuleCatalog_impl.cxx | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/runSalome.py b/bin/runSalome.py index e6cb6a1c8..6f6d5779e 100755 --- a/bin/runSalome.py +++ b/bin/runSalome.py @@ -105,7 +105,8 @@ class CatalogServer(Server): "resources",module_cata))) pass pass - self.CMD=self.SCMD1 + [string.join(cata_path,':')] + self.SCMD2 + self.CMD=self.SCMD1 + ['\"']+[string.join(cata_path,'\"::\"')] + ['\"'] + self.SCMD2 + # --- diff --git a/src/ModuleCatalog/SALOME_ModuleCatalog_impl.cxx b/src/ModuleCatalog/SALOME_ModuleCatalog_impl.cxx index b6def6a59..8570964ee 100644 --- a/src/ModuleCatalog/SALOME_ModuleCatalog_impl.cxx +++ b/src/ModuleCatalog/SALOME_ModuleCatalog_impl.cxx @@ -43,7 +43,7 @@ static int MYDEBUG = 1; static int MYDEBUG = 1; #endif -static const char* SEPARATOR = ":"; +static const char* SEPARATOR = "::"; //---------------------------------------------------------------------- // Function : SALOME_ModuleCatalogImpl -- 2.39.2