Przeglądaj źródła

Make benchmark script exit on keyboard interrupt

Taddeus Kroes 7 lat temu
rodzic
commit
76458cb17f
1 zmienionych plików z 1 dodań i 0 usunięć
  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