Ver Fonte

Make benchmark script exit on keyboard interrupt

Taddeus Kroes há 7 anos atrás
pai
commit
76458cb17f
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      runall.sh

+ 1 - 0
runall.sh

@@ -1,5 +1,6 @@
 #!/usr/bin/env bash
 interp=${1-python3}
+trap exit SIGINT
 i=1
 for f in *.py
 do