Set the process group of the current process.
Type Reason InvalidOperationException The target process is a session leader. [Mono.Unix.Native.Errno.EPERM] Mono.Unix.UnixIOException The target process is not the calling process or a child of the calling process. [Mono.Unix.Native.Errno.ESRCH]
-or-
The requested process is a child of the calling process, but it has performed an Mono.Unix.Native.Syscall.exec(3) operation. [Mono.Unix.Native.Errno.EACCES]
If the affected process is not the invoking process, then it must be a child of the invoking process, and both processes must be in the same session.
Namespace: Mono.Unix
Assembly: Mono.Posix (in Mono.Posix.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0