summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
eb446c6)
The .pid was having the eval process PID instead
of ADML's one.
We must to evaluate first, and then pass arguments
expanded to the ADML executable.
mkdir -p counters test-reports
rm -f counters/* test-reports/* *.csv
export LD_LIBRARY_PATH=$PWD/dynlibs
mkdir -p counters test-reports
rm -f counters/* test-reports/* *.csv
export LD_LIBRARY_PATH=$PWD/dynlibs
-eval ./ADML `grep -v ^# $ARGS` &
+args=$(eval echo $(grep -v ^# $ARGS))
+./ADML ${args} &
echo $! > .pid
echo "Done !"
echo $! > .pid
echo "Done !"