Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

setsid

Run a program in a new session.

Implemented

  • Create a new session and exec the given command
  • -c / --ctty: set the current terminal as the controlling terminal
  • -f / --fork: always fork (even if not process group leader)
  • -w / --wait: wait for the child and return its exit status
  • Automatic fork detection when already a process group leader