]> git.ipfire.org Git - thirdparty/util-linux.git/blob - sys-utils/setsid.1
Merge branch 'master' of https://github.com/yurchor/util-linux
[thirdparty/util-linux.git] / sys-utils / setsid.1
1 .\" Rick Sladkey <jrs@world.std.com>
2 .\" In the public domain.
3 .\" Path modifications by faith@cs.unc.edu
4 .TH SETSID 1 "July 2014" "util-linux" "User Commands"
5 .SH NAME
6 setsid \- run a program in a new session
7 .SH SYNOPSIS
8 .B setsid
9 .I program
10 .RI [ argument ...]
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 .SH "SEE ALSO"
24 .BR setsid (2)
25 .SH AUTHOR
26 Rick Sladkey <jrs@world.std.com>
27 .SH AVAILABILITY
28 The setsid command is part of the util-linux package and is available from
29 ftp://ftp.kernel.org/pub/linux/utils/util-linux/.