PHP - Manual: posix_setpgid
2025-02-27
(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.
官方地址:https://www.php.net/manual/en/function.posix-setpgid.php