crosvm/tools/impl
Pierre-Clément Tosi 5adb0859a6 tools/cl: Terminate cleanly on KeyboardInterrupt
When the user presses CTRL+C to quit during a prompt, don't bubble up
the exception until as that results in a verbose error message. Instead,
catch it and exit somewhat cleanly.

BUG=None
TEST=tools/cl upload <...> # Then CTRL+C

Change-Id: I5143f0925cbbad82b4cad9912150d6be8add7fac
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/7253478
Commit-Queue: Keiichi Watanabe <keiichiw@chromium.org>
Reviewed-by: Keiichi Watanabe <keiichiw@chromium.org>
Commit-Queue: Pierre-Clément Tosi <ptosi@google.com>
Auto-Submit: Pierre-Clément Tosi <ptosi@google.com>
2025-12-12 12:20:21 -08:00
..
catapult_converter Automatic clippy fix for Rust 1.88 2025-11-17 10:25:21 -08:00
cros_container cros_container: Fix crosvm ebuild name 2024-04-05 21:43:25 +00:00
dev_container Update Rust toolchain to 1.88 2025-11-21 13:21:47 -08:00
testvm Update Rust toolchain to 1.88 2025-11-21 13:21:47 -08:00
__init__.py health-check: enforce blank line after copyright 2022-09-13 22:24:35 +00:00
bindgen-common.sh bindgen: use upstream Linux headers 2025-03-12 12:32:22 -07:00
cli.py tools: refactoring: Split common.py into multiple files 2023-05-02 17:04:27 +00:00
command.py tools: enable tools/fmt on Windows 2023-09-27 02:52:10 +00:00
common.py tools: refactoring: Split common.py into multiple files 2023-05-02 17:04:27 +00:00
presubmit.py Enable rustfmt nightly in container and CI 2023-11-29 18:41:29 +00:00
test_config.py aarch64: remove support for 32-bit host userspace 2025-11-13 14:37:26 -08:00
testvm.py testvm: Increase rootfs size to 8GB 2023-09-15 22:04:02 +00:00
tui.py tools: refactoring: Split common.py into multiple files 2023-05-02 17:04:27 +00:00
util.py tools/cl: Terminate cleanly on KeyboardInterrupt 2025-12-12 12:20:21 -08:00
vcs.py tools: refactoring: Split common.py into multiple files 2023-05-02 17:04:27 +00:00