setsid Command Examples

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: https://manned.org/setsid.

setsid {{program}}

setsid {{program}} > /dev/null 2>&1

setsid {{[-f|--fork]}} {{program}}

setsid {{[-w|--wait]}} {{program}}

setsid {{[-c|--ctty]}} {{program}}