I have a program spawning and communicating with CPU heavy, unstable processes, not created by me. If my app crashes or is killed by SIGKILL, I want the subproc
SIGKILL
I thought the double fork was to detach from a controlling terminal. I'm not sure how you are trying to use it.
It's a hack, but you could always call 'ps' and search for the process name your trying to kill.