timelimit − 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
timelimit [ −v ] [ −nokill ] time command args
timelimit is used to limit the amount of foreground wallclock time a process consumes. Once the time limit expires timelimit will kill the process unless −nokill is specified.
−v adds some diagnostic messages.
netpipes (1)
Find ’em. Send ’em in. I’ll teach them to gnaw on my code!
Francis Liu <fxl AT pulse DOT itd DOT uts DOT edu DOT au> suggested that I modify timelimit so that it doesn’t SEGV when invoked with no arguments.
Copyright (C) 1997−1998 Robert Forsman
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
Robert Forsman
thoth AT purplefrog DOT com
Purple Frog Software
http://web.purplefrog.com/~thoth/