|
|
|
|
|
by krallja
1414 days ago
|
|
No, you misread the article. Open a Ruby interpreter (`irb`). Type `i=0; loop { i += 1 }`. Press Ctrl+C. * Irb is still running. * Your infinite loop has been stopped. Type `i`: * The REPL state preserved as much progress as it could when you aborted the run. Now do the same thing in `sh`. Now `python`. Now `psql`. All handle Ctrl+C in the way the article mentioned! |
|