subprocess.Popen.terminate

Popen.terminate()[source]

Terminate the process with SIGTERM