Closed
Description
Describe the bug
ctr+c should trigger a CLI application to start a clean shutdown process for the overall cli invocation, not for its many subtasks
To Reproduce
Steps to reproduce the behavior:
cabal install pandoc # on a machine with no build cache
# wait for it to be midway into downloading a dozen plus packages
ctrl+c
# see it just cancels stuff for just one sub task, not everything else
do control c again
# notice it just cancels another task
# start trying harder cmands that send more aggressive interrupts
Please use version-prefixed commands (e.g. v2-build
or v1-build
) to avoid ambiguity.
Expected behavior
A clear and concise description of what you expected to happen.
ctrl c should start the shutdown of the build!
I think this used to work correctly?
System information
- Operating system M1 pro OSX mac,
cabal
,ghc
versions ghc 9.2.2 ARM64, cabal 3.6
Additional context
i think what might be happening is that the sub computations register their own interrupt handles to the OS and somehow those are picked up? i cant im