timeout

timeout#

Run with a deadline.

$ timeout 30s ./long-running
$ timeout --signal=KILL 30s ./prog