From: dmv Date: Fri, 15 Aug 2008 09:24:48 +0000 (+0000) Subject: Rollback a part of integration to BR_QT4_Dev2 11.08.2008: X-Git-Tag: TG_TRIPOLI_qt4_porting~20 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=33884fee9ba27d6da4588737cdb9951387002bb1;p=modules%2Fkernel.git 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. --- 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 # -----------------------------------------------------------------------------