Lurker News
Back to discussion

Comment by torartc

torartc1 reply#
That's interesting, I've always though ctrl-c would close things. I tried so many things like "quit" "exit" ctrl-c "help"
emj#
Ctrl-c cancels running processes, but not shells. When a process becomes a shell I can not say, but if make an infinite loop in the Python repl you can Ctrl-C that loop.

  $ python
  >>> while True:
  ...   pass
  ...
  ^CTraceback (most recent call last):
    File "", line 1, in
  KeyboardInterrupt