From 3aeda412c1cea2b8e4074af1dcd6cc1aa9683bbc Mon Sep 17 00:00:00 2001 From: secher Date: Fri, 5 Oct 2007 13:39:48 +0000 Subject: [PATCH] for salome batch runnings --- bin/setenv.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/setenv.py b/bin/setenv.py index 0b1fc0e20..f6e81c437 100755 --- a/bin/setenv.py +++ b/bin/setenv.py @@ -158,6 +158,10 @@ def set_env(args, modules_list, modules_root_dir): python_version="python%d.%d" % sys.version_info[0:2] modules_root_dir_list = [] + os.putenv('SALOME_BATCH','0') + if args["batch"] : + os.putenv('SALOME_BATCH','1') + print 'SALOME_BATCH :',os.getenv('SALOME_BATCH') if args["gui"] : modules_list = modules_list[:] + ["GUI"] modules_list = modules_list[:] + ["KERNEL"] -- 2.39.2