posix_setpgid
(PHP 4, PHP 5, PHP 7, PHP 8)
posix_setpgid — Set process group id for job control
说明
Let the process process_id join the process group
process_group_id.
参数
process_id
The process id.
process_group_id
The process group id.
更新日志
| 版本 | 说明 |
|---|---|
| 8.5.0 |
Now throws a ValueError when
process_id or process_group_id
is lower than zero or greater than what the platform supports.
|
参见
- See POSIX.1 and the setsid(2) manual page on the POSIX system for more information on process groups and job control.
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
