title: Sending SIGINT (Ctrl-C) to program running in Eclipse Console
body: <p>I have setup a run configuration in Eclipse and need to send SIGINT (<kbd>Ctrl</kbd>+<kbd>C</kbd>) to the program. There is cleanup code in the program that runs after SIGINT, so pressing Eclipse's "Terminate" buttons won't work (they send SIGKILL I think). Typing <kbd>CTRL</kbd>+<kbd>C</kbd> into the Console also doesn't work.</p>
  
  <p>How do I send SIGINT to a process running inside an Eclipse Console?</p>
  
  <p>(FWIW I am running a Twisted daemon and need Twisted to shutdown correctly, which only occurs on SIGINT)</p>