timelimit(1) on Linux
The text cf60ff54da2d, as Debian 5.0 (Lenny), Debian 4.0 (Etch), Debian 3.1 (Sarge) shipped it.
spawn a subprocess and if the child does not finish within the time limit either kill it, or exit, leaving the child in the background. netpipes 4.2