Explorar el Código

Make benchmark script exit on keyboard interrupt

Taddeus Kroes hace 7 años
padre
commit
76458cb17f
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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