Keep output being visible
[anna.git] / example / diameter / launcher / deployments / adml / start.sh
index e51ddad..ab428af 100755 (executable)
@@ -18,7 +18,7 @@ rm -f counters/* test-reports/* *.csv
 export LD_LIBRARY_PATH=$PWD/dynlibs
 args=$(eval echo $(grep -v ^# $ARGS))
 #ulimit -c unlimited
-./ADML ${args} > ADML.output &
-echo $! > .pid
+./ADML ${args} | tee -a ADML.output &
+pgrep_live ADML > .pid
 echo "Done !"