Salome HOME
[EDF29322] Revert "[EDF] Taking SALOME launcher options into account through environm...
authorAnthony Geay <anthony.geay@edf.fr>
Wed, 7 Feb 2024 15:11:11 +0000 (16:11 +0100)
committerAnthony Geay <anthony.geay@edf.fr>
Wed, 7 Feb 2024 15:11:11 +0000 (16:11 +0100)
This reverts commit a6f674a77ba0d967c16f9fb118fbae9faa5b1e2a.

Decision to not impact new launch mode but rather impact the old style approach.

bin/salomeContext.py

index 4a40e68de1cdddabf5ccad714033c95255492022..cdb42c77bc4dcb6f0b5c7f5fc764ba1a7cd95425 100755 (executable)
@@ -288,11 +288,6 @@ class SalomeContext:
     command, options = self.__parseArguments(args)
     sys.argv = options
 
-    # append option from env var SALOME_OPTIONS if it's available
-    if os.getenv("SALOME_OPTIONS"):
-      option_from_env = os.getenv("SALOME_OPTIONS").split(' ')
-      sys.argv += option_from_env
-
     if command is None:
       if args and args[0] in ["-h","--help","help"]:
         usage()