From: sln Date: Thu, 13 Sep 2012 07:58:41 +0000 (+0000) Subject: Modified for unit tests X-Git-Tag: CTH_1_8_0~9 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7eb7672e4b903668a489ea3e25471e400b89d93e;p=modules%2Fgui.git Modified for unit tests --- 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