TIMELIMIT(1) TIMELIMIT(1)
NAME
timelimit - spawn a subprocess and if(3,n) the child does not finish within
the time(1,2,n) limit either kill(1,2,1 builtins) it, or exit(3,n,1 builtins), leaving the child in(1,8) the back-
ground.
netpipes 4.2
SYNOPSIS
timelimit [ -v ] [ -nokill ] time(1,2,n) command args
DESCRIPTION
timelimit is used to limit the amount of foreground wallclock time(1,2,n) a
process consumes. Once the time(1,2,n) limit expires timelimit will kill(1,2,1 builtins) the
process unless -nokill is specified.
-v adds some diagnostic messages.
EXAMPLES
SEE ALSO
netpipes (1)
BUGS
Find 'em. Send 'em in. I'll teach them to gnaw on my code!
CREDITS
Francis Liu <fxl@pulse.itd.uts.edu.au> suggested that I modify time-
limit so that it doesn't SEGV when invoked with no arguments.
COPYRIGHT
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(1,3,5) 2 of the License, or (at your
option) any later version.
This program is distributed in(1,8) the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MER-
CHANTABILITY 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(3,n) not, write(1,2) to the Free Software Foundation, Inc.,
675 Mass Ave, Cambridge, MA 02139, USA.
AUTHOR
Robert Forsman
thoth@purplefrog.com
Purple Frog Software
http://web.purplefrog.com/~thoth/
February 12, 1998 TIMELIMIT(1)