X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fhbugs%2Ftutors%2Fsabba.sh;h=55188b8c404ce170a8794bf9cb72f4e5b9dfe405;hb=03d1ddf4a7fdf03fd497babd84d1963048253f0d;hp=239cd99092673ebba943726a334f69d6c0077db3;hpb=ed90e027472d0250d45ae7200600c8804dd476f1;p=helm.git diff --git a/helm/hbugs/tutors/sabba.sh b/helm/hbugs/tutors/sabba.sh index 239cd9909..55188b8c4 100755 --- a/helm/hbugs/tutors/sabba.sh +++ b/helm/hbugs/tutors/sabba.sh @@ -28,17 +28,17 @@ if [ "$1" = "--help" -o "$1" = "" ]; then echo "sabba.sh { start | stop | --help }" exit 0 fi -. ../../script.sh + ./ls_tutors.ml | while read line; do tutor=`echo $line | sed 's/\.ml//'` if [ "$1" = "stop" ]; then echo -n "Stopping HBugs tutor $tutor ... " - killall $tutor + killall -9 $tutor echo "done!" elif [ "$1" = "start" ]; then echo -n "Starting HBugs tutor $tutor ... " - ./$tutor &> run/$tutor.LOG & + nice -n 19 ./$tutor &> run/$tutor.LOG & echo "done!" else echo "Uh? Try --help"