From f91b976d2970c4f672692bfdce3b5d220699d869 Mon Sep 17 00:00:00 2001 From: nds Date: Wed, 27 May 2015 08:07:32 +0300 Subject: [PATCH] Linux script to kill session services of SALOME --- salome_kill.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 salome_kill.sh 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" -- 2.39.2