nix::unistd
pub fn setsid() -> Result<Pid>
Create new session and set process group id (see setsid(2)).