Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages


home | help
TIMED-PROCESS(1)      User Contributed Perl Documentation     TIMED-PROCESS(1)

       timed-process - Run background process for limited amount of time

	   timed-process [-e exit_status] timeout command [<arg> [<arg>	...]]

       This script runs	command	for a specified	amount of time and if it
       doesn't finish, it kills	the process.  If command runs and exits	before
       the given timeout, timed-process	returns	the exit value of command.  If
       command did not exit before timeout seconds, then timed-process will
       kill the	process	and returns an exit value of 255, unless the -e
       command line option is set, which instructs timed-process to return a
       different exit value.  This allows the user of timed-process to
       determine if the	process	ended normally or was killed.

perl v5.32.1			  2021-02-28		      TIMED-PROCESS(1)


Want to link to this manual page? Use this URL:

home | help