From: secher Date: Fri, 5 Oct 2007 13:39:48 +0000 (+0000) Subject: for salome batch runnings X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3aeda412c1cea2b8e4074af1dcd6cc1aa9683bbc;p=modules%2Fkernel.git for salome batch runnings --- 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"]