I've got an annoying zombie process that gets adopted by init, and it won't go away. I've read there is a way to create a dummy process, attach the zombie as a child of that new process and then kill it, removing it from the process table.
How would I do that, precisely?
And yes, I've read most of this stuff:
A zombie process is already dead, so it can't be killed.
Or
You should just reboot your system
And
Zombie processes don't use any resources, you should just let them be
Unfortunately, lots of programs check the process table to see if an instance is already running, and will refuse to start a new one if there is an entry in the process table.
And rebooting every time my SSHFS connection drops out, taking Sublime with it, is kind of silly.