From 7eb7672e4b903668a489ea3e25471e400b89d93e Mon Sep 17 00:00:00 2001 From: sln Date: Thu, 13 Sep 2012 07:58:41 +0000 Subject: [PATCH] Modified 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