1
.TH "timeout" "1" "19 Jul 2001" "netatalk 1.5pre7" "The Netatalk Project"
5
timeout \- Send a signal to a program after a certain time
9
timeout [\-s \fIsignal\fP] \fIseconds\fP \fIprogram\fP [\fIargs\fP]
13
\fBtimeout\fR executes a \fIprogram\fP (with arguments \fIargs\fP) and sends a
14
\fIsignal\fP to it after a certain amount of \fIseconds\fP.
19
\fB\-s\fR \fIsignal\fP
20
Signal to send to the spawned process. This can be a numerical or symbolic ID.
21
This defaults to \fBTERM\fR.
27
Execute "pap foo.ps" and send a \fBSIGTERM\fR if \fBpap\fR doesn't return
31
Spawn a shell and send a hangup signal after one minute.
33
timeout -s 9 10 evilprog
34
Execute a program and \fBKILL\fR it if it doesn't quit after 10 seconds.