pub fn setpgid(pid: Option<Pid>, pgid: Option<Pid>) -> Result<()>
setpgid(pid, pgid)—Sets the process group ID of the given process.
setpgid(pid, pgid)