setsid

Run a program in a new session if the calling process is not a process group leader.
The created session is by default not controlled by the current terminal.

More information.

Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).

CC-BY