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

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

python - TypeError: can only concatenate tuple (not "float") to tuple -

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