commit ca9a5b07036e7e9ad43c637cfb375ae9636f1d81 parent 76c4bd3454a579355551fd8265ce7e4e0a09ab68 Author: Antoine Amarilli <a3nm@a3nm.net> Date: Sat, 28 Mar 2015 16:23:20 +0100 add back init Diffstat:
contest/a3nm/master.sh | | | 15 | +++++++++++++++ |
contest/a3nm/targets | | | 2 | ++ |
2 files changed, 17 insertions(+), 0 deletions(-)
diff --git a/contest/a3nm/master.sh b/contest/a3nm/master.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +I="1" +cat targets | while read l; do + I=$(($I+1)) + echo "spawn $l" + (./run.sh $l > runout$I) & +done + +inotifywait -e MODIFY runout* >/dev/null 2>/dev/null + +pkill run.sh + +head -1 runout* + diff --git a/contest/a3nm/targets b/contest/a3nm/targets @@ -0,0 +1,2 @@ +mu scratch 1 test +mu scratch 2 wat