timeout − run commands with a timeout |
timeout [ OPTIONS ] SECONDS COMMAND [ ARGS... ] |
timeout runs the given command as a child process. If the execution of the command takes longer than the specified number of seconds, the process is killed. If the process is killed or otherwise terminates abnormaly, the exit status of timeout is 255. Otherwise it is the exit status of the child process. The command may be empty, in which case timeout terminates immediately with exit status 0. timeout does not search the PATH for the command. You must specify the complete path of the executable (as printed by ‘which COMMAND‘ ). timeout itself never writes to standard output (unless called with --help ). All messages go to standard error. |
−−help |
Print usage summary and exit. |
Please report any bugs you find to the author (see below). |
Edwin Steiner <edwin.steiner@gmx.net> Please include the word ’timeout’ in the subject line when contacting me. |