mirror of git://git.suckless.org/sbase
19 lines
637 B
Groff
19 lines
637 B
Groff
.TH RESPAWN 1 ubase-VERSION
|
|
.SH NAME
|
|
\fBrespawn\fR - Spawn the given command repeatedly
|
|
.SH SYNOPSIS
|
|
\fBrespawn\fR [\fB-l\fI fifo\fR] [\fB-d\fI N\fR] \fIcmd\fR [\fIargs...\fR]
|
|
.SH DESCRIPTION
|
|
\fBrespawn\fR spawns the given \fIcmd\fR in a new session
|
|
repeatedly.
|
|
.SH OPTIONS
|
|
.TP
|
|
\fB-d\fR
|
|
Set the delay between invocations of \fIcmd\fR. It defaults to 0.
|
|
.TP
|
|
\fB-l\fR
|
|
Listen on the specified \fIfifo\fR for writes. For each write
|
|
spawn a new instance of \fIcmd\fR. This can be used in conjunction
|
|
with a process supervisor to restart a particular program. The \fB-l\fR
|
|
and \fB-d\fR options are incompatible. All writes are discarded.
|