1 .\" Rick Sladkey <jrs@world.std.com>
2 .\" In the public domain.
3 .TH SETSID 1 "July 2014" "util-linux" "User Commands"
5 setsid \- run a program in a new session
13 runs a program in a new session. The command calls
15 if already a process group leader. Otherwise, it executes a program in the
16 current process. This default behavior is possible to override by
17 the \fB\-\-fork\fR option.
21 Set the controlling terminal to the current one.
24 Always create a new process.
27 Wait for the execution of the program to end, and return the exit status of
28 this program as the exit status of
31 .BR \-V , " \-\-version"
32 Display version information and exit.
35 Display help text and exit.
39 Rick Sladkey <jrs@world.std.com>
41 The setsid command is part of the util-linux package and is available from
42 https://www.kernel.org/pub/linux/utils/util-linux/.