dncurrency/ci/custom-timeout.sh
Russel Waters fbd02abe04
cmake format pass (#3053)
add cmake-format python module to static analyzers
various other script formatting and cleanup
2020-11-19 08:46:48 -08:00

9 lines
128 B
Bash
Executable file

#!/bin/bash
delay="$1"
shift
while true; do
printf ".\b"
sleep 120
done &
timeout -k 5 "$((delay * 60))" "$@"
exit "$?"