Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The message comes up saying would you like to send the exit command so you can run you new proccess. well yes I would but I would like to always do this.

There has to be a way to add this in line to my script I just cant seem to find it. Anyone know?

share|improve this question

Your question isn't very clear, but from what I understand, clicking on the console window and pressing ctrl+C should end the previous process, after which you can use the run shortcut you configured to restart the process.

Notepad++ developers say here that they will not implement a command like NPP_TERMINATE to kill the console child process so looks like there's no way to write an NppExec script to do what ctrl+C does automatically.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.