Module shell
This file is part of ConfigShell Community Edition. Copyright (c) 2011
by RisingTide Systems LLC
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, version 3 (AGPLv3).
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero
General Public License for more details.
You should have received a copy of the GNU Affero General Public
License along with this program. If not, see
<http://www.gnu.org/licenses/>.
|
ConfigShell
This is a simple CLI command interpreter that can be used both in
interactive or non-interactive modes.
|
|
handle_sigint(signum,
frame)
Raise KeyboardInterrupt when we get a SIGINT. |
|
|
|
__package__ = ' configshell '
|
handle_sigint(signum,
frame)
|
|
Raise KeyboardInterrupt when we get a SIGINT. This is normally done by
python, but even after patching pyinstaller 1.4 to ignore SIGINT in the C
wrapper code, we still have to do the translation ourselves.
|