is there a way to set up a scrypt so that once it is exited it also forces the child process that it spawned to exit as well.
in other words, process A spawns process B using backticks(`), when process A is killed I want process B to be exited as well. So here we don't explicitly kill B through A, we set it up so that once A is gone, B gets dumped as well. I'm runing this on a PC platform.