Salome HOME
Linux script to kill session services of SALOME
[modules/shaper.git] / salome_kill.sh
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"