Skip to main content
added 42 characters in body
Source Link
Stéphane Chazelas
  • 594.5k
  • 97
  • 1.1k
  • 1.7k

From APUEAdvanced Programming in the Unix Environment:

A process can set the process group ID of only itself or any of its children. Furthermore, it can’t change the process group ID of one of its children after that child has called one of the exec functions.

Why can't it "change the process group ID of one of its children after that child has called one of the exec functions"? Thanks.

From APUE:

A process can set the process group ID of only itself or any of its children. Furthermore, it can’t change the process group ID of one of its children after that child has called one of the exec functions.

Why can't it "change the process group ID of one of its children after that child has called one of the exec functions"? Thanks.

From Advanced Programming in the Unix Environment:

A process can set the process group ID of only itself or any of its children. Furthermore, it can’t change the process group ID of one of its children after that child has called one of the exec functions.

Why can't it "change the process group ID of one of its children after that child has called one of the exec functions"? Thanks.

Source Link
Tim
  • 107.4k
  • 237
  • 656
  • 1.1k

Why can't a process change the process group ID of one of its children after that child has called one of the exec functions?

From APUE:

A process can set the process group ID of only itself or any of its children. Furthermore, it can’t change the process group ID of one of its children after that child has called one of the exec functions.

Why can't it "change the process group ID of one of its children after that child has called one of the exec functions"? Thanks.