Salome HOME
#839 Selection of Part sub-results
[modules/shaper.git] / linux_run.sh
1 #!/bin/bash
2
3 a_dir=$(dirname $0)
4
5 cd ${a_dir}
6
7 source ${a_dir}/env.sh
8 source ${a_dir}/env_standalone.sh
9
10 if [ -f GDB ]; then
11   ${INSTALL_DIR}/bin/GeomApp &
12   APP_PID=$!
13   echo "Connect GDB to PID ${APP_PID}"
14   gdb --command=commands.gdb - ${APP_PID}
15 else
16   ${INSTALL_DIR}/bin/GeomApp
17 fi