1 //po4a: entry man manual
2 // Rick Sladkey <jrs@world.std.com>
3 // In the public domain.
6 :man manual: User Commands
7 :man source: util-linux {release-version}
13 setsid - run a program in a new session
17 *setsid* [options] _program_ [_arguments_]
21 *setsid* runs a program in a new session. The command calls *fork*(2) if already a process group leader. Otherwise, it executes a program in the current process. This default behavior is possible to override by the *--fork* option.
26 Set the controlling terminal to the current one.
29 Always create a new process.
32 Wait for the execution of the program to end, and return the exit status of this program as the exit status of *setsid*.
35 Display version information and exit.
38 Display help text and exit.
42 mailto:jrs@world.std.com[Rick Sladkey]
48 include::man-common/bugreports.adoc[]
50 include::man-common/footer.adoc[]
53 include::man-common/translation.adoc[]