Skip to content

honor keyboard interrupt in 'eb' command#3674

Merged
ocaisa merged 1 commit intoeasybuilders:developfrom
boegel:eb_keyboard_interrupt
May 12, 2021
Merged

honor keyboard interrupt in 'eb' command#3674
ocaisa merged 1 commit intoeasybuilders:developfrom
boegel:eb_keyboard_interrupt

Conversation

@boegel
Copy link
Copy Markdown
Member

@boegel boegel commented May 12, 2021

Quickly cancelling an eb command right after starting it currently requires hitting Ctrl-C multiple times in a row, because you're only cancelling the initial Python version check, and there are multiple in a row.

We can trap the SIGINT signal that occurs when hitting Ctrl-C though, and honor that, so a single Ctrl-C is always sufficient to cancel the eb command.

@boegel boegel added this to the next release (4.3.5?) milestone May 12, 2021
Copy link
Copy Markdown
Member

@ocaisa ocaisa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and seems to work fine

@ocaisa ocaisa enabled auto-merge May 12, 2021 07:28
@ocaisa ocaisa merged commit eec96fc into easybuilders:develop May 12, 2021
@boegel boegel deleted the eb_keyboard_interrupt branch May 12, 2021 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants