linuxutils-system 0.1.0

System utilities from linuxutils
Documentation
1
2
3
4
5
6
7
8
9
10
11
# 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