What happens to a child process whose parent process is terminated abruptly without waiting? Does the child process die too?
The child gets reparented to init
.
No, it becomes 'orphaned' (i.e. its parent becomes init - PID 1).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With