spawnProcess() not child?

angel via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Nov 3 03:34:42 PST 2014


The parent / child relationship always exists.
In POSIX OSs, you may ignore SIGCHLD signal (announcing child 
process death), so that in case of child process exit it will not 
become zombie, rather it will be disposed on the spot.
As a side note, in Linux, there exist a system call allowing 
process re-parenting, but it is intended for use in 
experimenting, rather than in normal use case.
Side note II, there is no real chance of wrapping PID numbers 
around in a reasonable time frame.


More information about the Digitalmars-d-learn mailing list