Salome HOME
Merge remote-tracking branch 'origin/pre/V8_4_BR' into pre/V8_5_BR
[tools/yacsgen.git] / Examples / exec.sh
1 #/bin/bash
2 # execute a command within SALOME environment 
3
4 com=$*
5
6 # Modify to your SALOME installation
7 export SALOME_DIR=path_to_appli
8 export SALOME_PACKAGES=path_to_salome_prerequisites.sh
9
10 source $SALOME_PACKAGES/salome_prerequisites.sh
11 source $SALOME_PACKAGES/salome_modules.sh
12
13 echo execution: $com
14 $com
15