php - Is it possible to set the process group of a child process with PCNTL? -


the man page pcntl_waitpid() documents following option:

wait child process process group id equal absolute value of pid.

i'm interested feature (waiting some child processes, not all), can't find reference how set process group id of child process.

is possible @ pcntl?

found it. pcntl not offer function, posix extension offer posix_setpgid():

bool posix_setpgid ( int $pid , int $pgid ) 

Comments

Popular posts from this blog

c++ - Linked List error when inserting for the last time -

java - activate/deactivate sonar maven plugin by profile? -

java - What is the difference between String. and String.this. ? -