ClusterRunner
ClusterRunner copied to clipboard
Support terminate ClusterRunner on Windows cleanly
Registering signal handler for SIGTERM on Windows doesn't work, so we need a way to terminate Windows processes cleanly. Otherwise, it could lead to corrupted git repo if we kill the process in the middle of a git operation.
To be more specific, I was unable to get this working while running a python script via git bash on windows.