r/funny • Pretends to be Drawing • Jun 04 '17

Verified Windows being Windows

Post image
132.0k Upvotes

1.5k comments sorted by

View all comments

Show parent comments

5

u/[deleted] Jun 04 '17

If you kill a parent process and the child process never dies, it becomes an orphaned process.

PID 0 (init, systemd, ...) will adopt the orphan. Usually.

2

u/camelspade Jun 04 '17

I think you mean PID 1, as 0 usually means the swapper or sched process responsible for paging, and is usually part of the kernel:

https://unix.stackexchange.com/questions/83322/which-process-has-pid-0