setsid
run a program in a new session
- Provided by: util-linux (Version: 2.31.1-0.4ubuntu3.7)
- Report a bug
run a program in a new session
setsid [options] program [arguments]
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.
Rick Sladkey <jrs@world.std.com>
The setsid command is part of the util-linux package and is available from https://www.kernel.org/pub/linux/utils/util-linux/.