List PIDs of xterms for easier killing.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@237 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
This commit is contained in:
Jilles Tjoelker 2004-02-15 23:20:51 +00:00
parent ee48608bcf
commit 33f37ede33
1 changed files with 3 additions and 1 deletions

View File

@ -14,11 +14,13 @@ max=19
rm -f "$chrootdir"/dgldir/inprogress/* rm -f "$chrootdir"/dgldir/inprogress/*
rm -f "$chrootdir$hackdir"/save/*[0-9]test[0-9]* rm -f "$chrootdir$hackdir"/save/*[0-9]test[0-9]*
echo -n "Starting processes:"
export conffile i export conffile i
i=1 i=1
while [ $i -le $max ]; do while [ $i -le $max ]; do
xterm -e sh -c '(sleep 1; echo "ltest$i"; echo aa; echo -n py i; cat) | ./dgamelaunch -f "$conffile" '& xterm -e sh -c '(sleep 1; echo "ltest$i"; echo aa; echo -n py i; cat) | ./dgamelaunch -f "$conffile" '&
echo -n " $!"
sleep 1 sleep 1
i=$(($i+1)) i=$(($i+1))
done done
echo