]> git.ipfire.org Git - thirdparty/util-linux.git/blobdiff - sys-utils/setsid.1
Merge branch 'non-canonical-completion' of https://github.com/kevinoid/util-linux
[thirdparty/util-linux.git] / sys-utils / setsid.1
index 61b13ce1db7ec603e77874d5e97f1d8397cad7d4..64f0555716450eae41ba66a56011e562aa6d0ef7 100644 (file)
@@ -12,13 +12,17 @@ setsid \- run a program in a new session
 .B setsid
 runs a program in a new session. The command calls
 .BR fork (2)
-if already a process group leader. Otherwise, it executes a program in the
-current process.
+if already a process group leader.  Otherwise, it executes a program in the
+current process.  This default behavior is possible to override by
+the \fB\-\-fork\fR option.
 .SH OPTIONS
 .TP
 .BR \-c , " \-\-ctty"
 Set the controlling terminal to the current one.
 .TP
+.BR \-f , " \-\-fork"
+Always create a new process.
+.TP
 .BR \-w , " \-\-wait"
 Wait for the execution of the program to end, and return the exit value of
 this program as the return value of