pipe-tools
Software
www.skarnet.org

The maximumtime program

maximumtime executes a program within a limited amount of time. If it times out, it kills the program and exits.

Interface

     maximumtime timeout prog...
maximumtime runs prog. If prog exits within timeout seconds, maximumtime exits with prog's return code. Else maximumtime sends a SIGTERM to prog and exits 99.

Similar commands