
Instead of sending a signal to the process group, get our own process ID and send the signal to it. This fixes a bug that prevented termination when called from a script.
Instead of sending a signal to the process group, get our own process ID and send the signal to it. This fixes a bug that prevented termination when called from a script.