1 2 3 4 5 6 7 8
# setpgid Run a program in a new process group. ## Implemented - Create a new process group and exec the given command - `-f` / `--foreground`: make the new process group the foreground group