STARTED=`pgrep_live ADML`
[ -n "$STARTED" ] && { echo "Already started !"; echo "PID $STARTED" ; exit 1 ; }
0> launcher.trace
+0> ADML.output
for file in `ls *.launcher.log 2>/dev/null`; do 0> $file; done
mkdir -p counters test-reports
rm -f counters/* test-reports/* *.csv
export LD_LIBRARY_PATH=$PWD/dynlibs
-eval ./ADML `grep -v ^# $ARGS` &
-echo $! > .pid
+args=$(eval echo $(grep -v ^# $ARGS))
+#ulimit -c unlimited
+./ADML ${args} | tee -a ADML.output &
+pgrep_live ADML > .pid
echo "Done !"