On 11/3/14 6:34 AM, angel wrote:
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.

From OP's code, he is on Windows.

-Steve

Reply via email to