I am using the subprocess package in Python to run a subprocess, which I later need to kill. However, the documentation of the subprocess package states that the terminate()
You call os.kill on the process pid.
os.kill(process.pid, signal.SIGKILL)
You're OK because you're on on Linux. Windows users are out of luck.