Struct oursh::process::ProcessGroup [−][src]
pub struct ProcessGroup(pub Process);
Expand description
Processes groups are used for things like pipelines and background jobs
The system call int setpgid(pid_t pid, pid_t pgid)
is used to set.
Every process is member of a unique process group, identified by its process group ID. (When the process is created, it becomes a member of the process group of its parent.) By convention, the process group ID of a process group equals the process ID of the first member of the process group, called the process group leader. A process finds the ID of its process group using the system call getpgrp(), or, equivalently, getpgid(0). One finds the process group ID of process p using getpgid(p).
Tuple Fields
0: Process