]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Linux script to kill session services of SALOME
authornds <natalia.donis@opencascade.com>
Wed, 27 May 2015 05:07:32 +0000 (08:07 +0300)
committernds <natalia.donis@opencascade.com>
Wed, 27 May 2015 05:07:32 +0000 (08:07 +0300)
salome_kill.sh [new file with mode: 0644]

diff --git a/salome_kill.sh b/salome_kill.sh
new file mode 100644 (file)
index 0000000..8236021
--- /dev/null
@@ -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"