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
- The tryto
command, by Gerrit Pape, is more powerful than maximumtime; it can
also run as a multilog
processor.
- The timelimit
command, by Peter Pentchev, is somewhat similar.