From 7bcfbf9168597c0e8a7838e6f0ce845b790b0011 Mon Sep 17 00:00:00 2001 From: sln Date: Thu, 13 Sep 2012 07:11:55 +0000 Subject: [PATCH] Updated for unit tests --- bin/runLightSalome.csh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/runLightSalome.csh b/bin/runLightSalome.csh index e5dc0b658..e13c7e3b5 100755 --- a/bin/runLightSalome.csh +++ b/bin/runLightSalome.csh @@ -144,4 +144,8 @@ if ( "${PYTHONPATH}" != "" ) setenv PYTHONPATH ${MY_PYTHONPATH}:${PYTHONPATH} # start application ### -SUITApp LightApp -style salome $* & +if ( ! $?SALOME_BATCH_MODE ) then + SUITApp LightApp -style salome $* & +else + SUITApp LightApp -style salome $* +endif -- 2.39.2