title: Kill a running subprocess call
body: <p>I'm launching a program with <code>subprocess</code> on Python.</p>
  
  <p>In some cases the program may freeze. This is out of my control. The only thing I can do from the command line it is launched from is <kbd>Ctrl</kbd><kbd>Esc</kbd> which kills the program quickly.</p>
  
  <p>Is there any way to emulate this with <code>subprocess</code>? I am using <code>subprocess.Popen(cmd, shell=True)</code> to launch the program.</p>