From 33884fee9ba27d6da4588737cdb9951387002bb1 Mon Sep 17 00:00:00 2001 From: dmv Date: Fri, 15 Aug 2008 09:24:48 +0000 Subject: [PATCH] Rollback a part of integration to BR_QT4_Dev2 11.08.2008: Bug IPAL20202 Qt4 porting: it is impossible to start application with "-t" option. --- bin/envSalome.py | 2 +- bin/setenv.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/envSalome.py b/bin/envSalome.py index 1d0d61cb6..ed153d41b 100755 --- a/bin/envSalome.py +++ b/bin/envSalome.py @@ -39,6 +39,6 @@ sys.argv = argv[1:] #args, modules_list, modules_root_dir = setenv.get_config() #runSalome.set_env(args, modules_list, modules_root_dir) -setenv.main(); +setenv.main(True); os.execvp(argv[0],argv) diff --git a/bin/setenv.py b/bin/setenv.py index 7bbc61a34..078f9a3da 100755 --- a/bin/setenv.py +++ b/bin/setenv.py @@ -281,9 +281,9 @@ def set_env(args, modules_list, modules_root_dir, silent=False): # ----------------------------------------------------------------------------- -def main(): - args, modules_list, modules_root_dir = get_config() - set_env(args, modules_list, modules_root_dir) +def main(silent=False): + args, modules_list, modules_root_dir = get_config(silent=silent) + set_env(args, modules_list, modules_root_dir, silent=silent) return args # ----------------------------------------------------------------------------- -- 2.39.2