Salome HOME
Updated copyright comment
[modules/yacs.git] / src / wrappergen / src / HXX2SALOME_GENERIC_CLASS_NAME_SRC / bin / runSalome.py
index ab53018b439d78607f049758faf7a255e22d2e44..e841002f7b785412f75466544293f1ff8a9c1080 100755 (executable)
@@ -1,5 +1,5 @@
-#!/usr/bin/env python
-# Copyright (C) 2006-2016  CEA/DEN, EDF R&D
+#!/usr/bin/env python3
+# Copyright (C) 2006-2024  CEA, EDF
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -180,7 +180,8 @@ class Server:
 
 class CatalogServer(Server):
     SCMD1=['SALOME_ModuleCatalog_Server','-common']
-    SCMD2=['-personal','${HOME}/Salome/resources/CatalogModulePersonnel.xml']
+    home_dir=os.path.expanduser("~")
+    SCMD2=['-personal',os.path.join(home_dir,'Salome', 'resources', 'CatalogModulePersonnel.xml')]
 
     def setpath(self,liste_modules):
         cata_path=[]