1SETSID(1)                        User Commands                       SETSID(1)
2
3
4

NAME

6       setsid - run a program in a new session
7

SYNOPSIS

9       setsid [options] program [arguments]
10

DESCRIPTION

12       setsid  runs  a  program in a new session. The command calls fork(2) if
13       already a process group leader.  Otherwise, it executes  a  program  in
14       the  current process.  This default behavior is possible to override by
15       the --fork option.
16

OPTIONS

18       -c, --ctty
19              Set the controlling terminal to the current one.
20
21       -f, --fork
22              Always create a new process.
23
24       -w, --wait
25              Wait for the execution of the program to  end,  and  return  the
26              exit status of this program as the exit status of setsid.
27
28       -V, --version
29              Display version information and exit.
30
31       -h, --help
32              Display help text and exit.
33

AUTHORS

35       Rick Sladkey <jrs@world.std.com>
36

SEE ALSO

38       setsid(2)
39

AVAILABILITY

41       The  setsid  command is part of the util-linux package and is available
42       from https://www.kernel.org/pub/linux/utils/util-linux/.
43
44
45
46util-linux                         July 2014                         SETSID(1)
Impressum