1

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.

1 Answer 1

3

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.
1
  • cool, thx. glad I asked.
    – RParadox
    Nov 22, 2012 at 2:29

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .