From: nds Date: Wed, 27 May 2015 05:07:32 +0000 (+0300) Subject: Linux script to kill session services of SALOME X-Git-Tag: V_1.2.0~64^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f91b976d2970c4f672692bfdce3b5d220699d869;p=modules%2Fshaper.git Linux script to kill session services of SALOME --- diff --git a/salome_kill.sh b/salome_kill.sh new file mode 100644 index 000000000..82360215b --- /dev/null +++ b/salome_kill.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +export ROOT_DIR=$(pwd)/.. +export ROOT_DIR=`cd "${ROOT_DIR}";pwd` + +source ${ROOT_DIR}/sources/linux_env.sh + +# Correcting path which defined with error +export LD_LIBRARY_PATH=${KERNEL_ROOT_DIR}/lib/salome:${LD_LIBRARY_PATH} +export SalomeAppConfig=${ROOT_DIR}/install/share/salome/resources/newgeom:${GUI_ROOT_DIR}/share/salome/resources/gui + +${PYTHONBIN} "${KERNEL_ROOT_DIR}/bin/salome/envSalome.py" +${PYTHONBIN} "${KERNEL_ROOT_DIR}/bin/salome/killSalome.py"