Explorar o código

Make benchmark script exit on keyboard interrupt

Taddeus Kroes %!s(int64=7) %!d(string=hai) anos
pai
achega
76458cb17f
Modificáronse 1 ficheiros con 1 adicións e 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