Salome HOME
spns #39957: SALOME dark mode feature in Windows
[modules/gui.git] / bin / runLightSalome.csh
index 36cb9c7c0942e44d298bffdbc06a38f80f051f4a..48cc35b96b8fe3283da1930ce22ab45ec8f3ed66 100755 (executable)
@@ -1,5 +1,6 @@
 #!/bin/csh -f
-# Copyright (C) 2007-2013  CEA/DEN, EDF R&D, OPEN CASCADE
+
+# Copyright (C) 2007-2023  CEA, EDF, OPEN CASCADE
 #
 # Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 # CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -7,7 +8,7 @@
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
 # License as published by the Free Software Foundation; either
-# version 2.1 of the License.
+# version 2.1 of the License, or (at your option) any later version.
 #
 # This library is distributed in the hope that it will be useful,
 # but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -20,9 +21,9 @@
 #
 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
-#  File   : runLightSalome.csh
-#  Author : Vadim SANDLER, Open CASCADE S.A.S, vadim.sandler@opencascade.com
-#
+
+# File   : runLightSalome.csh
+# Author : Vadim SANDLER, Open CASCADE S.A.S, vadim.sandler@opencascade.com
 
 ###
 # set default value for the LightAppConfig variable, which 
@@ -86,7 +87,7 @@ end
 # set additional environment
 ###
 
-set python_version=`python -c "import sys; print sys.version[:3]"`
+set python_version=`python -c "import sys; print(sys.version[:3])"`
 
 set MY_PATH=""
 set MY_LD_LIBRARY_PATH=""
@@ -154,4 +155,4 @@ if ( "${PYTHONPATH}" != "" ) setenv PYTHONPATH ${MY_PYTHONPATH}:${PYTHONPATH}
 # start application
 ###
 
-SUITApp LightApp $* &
+suitexe LightApp $* &