]> git.ipfire.org Git - thirdparty/util-linux.git/blob - sys-utils/setsid.1
f7c020bfa197c01255346740dac32016336765e7
[thirdparty/util-linux.git] / sys-utils / setsid.1
1 .\" Rick Sladkey <jrs@world.std.com>
2 .\" In the public domain.
3 .TH SETSID 1 "July 2014" "util-linux" "User Commands"
4 .SH NAME
5 setsid \- run a program in a new session
6 .SH SYNOPSIS
7 .B setsid
8 [options]
9 .I program
10 .RI [ arguments ]
11 .SH DESCRIPTION
12 .B setsid
13 runs a program in a new session.
14 .SH OPTIONS
15 .TP
16 .BR \-c , " \-\-ctty"
17 Set the controlling terminal to the current one.
18 .TP
19 .BR \-w , " \-\-wait"
20 Wait for the execution of the program to end, and return the exit value of
21 this program as the return value of
22 .BR setsid .
23 .TP
24 .BR \-V , " \-\-version"
25 Display version information and exit.
26 .TP
27 .BR \-h , " \-\-help"
28 Display help text and exit.
29 .SH "SEE ALSO"
30 .BR setsid (2)
31 .SH AUTHOR
32 Rick Sladkey <jrs@world.std.com>
33 .SH AVAILABILITY
34 The setsid command is part of the util-linux package and is available from
35 ftp://ftp.kernel.org/pub/linux/utils/util-linux/.