title: How to send a CTRL+C/SIGINT to a subprocess in windows?
body: <p>I have a subprocess opened with <code>Popen</code>. When I press <code>CTRL+C</code> in the main program, my subprocess shutdowns just fine with the handler I registerd for <code>SIGINT</code> and <code>SIGTERM</code>. However: When I try to manually send <code>SIGINT</code>, it raises a <code>signal not supported</code> error. Sending <code>SIGTERM</code> kills my subprocess instantly. When I do <code>handle.terminate()</code>, my subprocess just dies, too.</p>
  
  <p>I need it to shutdown gracefully. I searched and searched and couldnt find anything which would replicate the behavior from pressing <code>CTRL+C</code>.</p>
  
  <p>Is there anything I can do, to achieve what I want?</p>
  
  <p>As stated in the title, i am using windows (7 64bit, python 3.4.5)</p>
  
  <p>// EDIT:
  I also tried sending <code>CTRL_C_EVENT</code> which is possible but cant be registered as signal handler in the subprocess</p>