Setsid
Setsid is a Unix utility that runs a program in a new session, thereby detaching it from the current controlling terminal and from the current process group. It is commonly used to start long-running tasks in the background, such as daemons, without being affected by terminal hangups or job control from the launching shell.
Technical overview: When invoked with a command, setsid forks a child process that creates a new session,
Usage: The typical syntax is setsid [PROGRAM [ARG]...]. If a program is provided, it is started in
Common use cases: daemonizing a process, starting background jobs from scripts, or ensuring that a command does