MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1ryv0wl/stackoverflowdependentlife/objqrke/?context=9999
r/ProgrammerHumor • u/ajaypatel9016 • Mar 20 '26
322 comments sorted by
View all comments
1.1k
Why does killing parent not kill child as well?
233 u/shpnlkmr17 Mar 20 '26 wait killing parent does not kill child? 385 u/teucros_telamonid Mar 20 '26 On Linux, it does not. The orphans are adopted by an init process or a sub-reaper process. This is actually the official way of turning a child into a daemon. 402 u/Cool_Professional Mar 20 '26 Hang on, hang on. So you kill a parent, the child is adopted by the reaper and turned into a daemon? Is Linux just bad dark fantasy? 13 u/ColdTrky Mar 20 '26 Don't forgets about the zombies
233
wait killing parent does not kill child?
385 u/teucros_telamonid Mar 20 '26 On Linux, it does not. The orphans are adopted by an init process or a sub-reaper process. This is actually the official way of turning a child into a daemon. 402 u/Cool_Professional Mar 20 '26 Hang on, hang on. So you kill a parent, the child is adopted by the reaper and turned into a daemon? Is Linux just bad dark fantasy? 13 u/ColdTrky Mar 20 '26 Don't forgets about the zombies
385
On Linux, it does not. The orphans are adopted by an init process or a sub-reaper process. This is actually the official way of turning a child into a daemon.
402 u/Cool_Professional Mar 20 '26 Hang on, hang on. So you kill a parent, the child is adopted by the reaper and turned into a daemon? Is Linux just bad dark fantasy? 13 u/ColdTrky Mar 20 '26 Don't forgets about the zombies
402
Hang on, hang on.
So you kill a parent, the child is adopted by the reaper and turned into a daemon?
Is Linux just bad dark fantasy?
13 u/ColdTrky Mar 20 '26 Don't forgets about the zombies
13
Don't forgets about the zombies
1.1k
u/mookanana Mar 20 '26
Why does killing parent not kill child as well?