join +unix

joinProcessGroup :: ProcessGroupID -> IO ()
unix System.Posix.Process.ByteString, unix System.Posix.Process
joinProcessGroup pgid calls setpgid to set the ProcessGroupID of the current process to pgid.