diff options
| author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-03-19 19:29:06 -0400 |
|---|---|---|
| committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-03-19 19:29:06 -0400 |
| commit | 1cd0a38cac5482bdf274f42ffcdc41519a5362b1 (patch) | |
| tree | 72da4f9c380d77a2c2fd9cc91458f7eec2ecc824 /docs | |
| parent | 627360cfc71995af939569b2aee9dbc8141544d0 (diff) | |
| download | cmd2-git-1cd0a38cac5482bdf274f42ffcdc41519a5362b1.tar.gz | |
Added a default signal handler for SIGINT (Ctrl-C)
Added a default signal handler for SIGINT that does the following:
- Terminates a pipe process if one exists
- Raises a KeyboardInterrupt for other parts othe code to catch
Also:
- Changed the default value for quit_on_sigint to False
- Modified the way the subcommand functions are called in subcommand.py (unrelated to rest of commit)
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
