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

I'm trying out different Python web-microframeworks, such as cherrypy and flask (under Mac OSX).

When I end the process with CTRL+Z usually the processes lives on. Why does the shutdown signal not kill the process? I have to sudo kill it and restart.

share|improve this question
up vote 2 down vote accepted

Ctrl-Z, is suspend. You want Ctrl-C, interrupt. From Unix signal wikipedia:

  • Ctrl-C (in older Unixes, DEL) sends an INT signal (SIGINT); by default, this causes the process to terminate.
  • Ctrl-Z sends a TSTP signal (SIGTSTP); by default, this causes the process to suspend execution.
share|improve this answer
cool, thx. glad I asked. – RParadox Nov 22 '12 at 2:29

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.