If you kill a parent process then what will happen ?
Answers
Answered by
1
No, child processes are not necessarily killed when the parent is killed. ... But if u create a sub shell in shell then if u create any process and kill ppid of that process then only that sub shell kill and their child becomes orphans. Their parent becomes init and pid is 1.
Similar questions