close
Skip to content

Handle keyboard interrupt gracefully#331

Closed
presidento wants to merge 1 commit into
pyinvoke:masterfrom
presidento:keyboard_interrupt
Closed

Handle keyboard interrupt gracefully#331
presidento wants to merge 1 commit into
pyinvoke:masterfrom
presidento:keyboard_interrupt

Conversation

@presidento
Copy link
Copy Markdown
Contributor

Send SIGINT to child process, wait until it closes then exit with code 130 without stack trace.

It maybe fixes #152

(Send SIGINT to child process, wait until it closes then
exit with code 130 without stack trace.)

Signed-off-by: Máté Farkas <mate.farkas@balabit.com>
@codecov-io
Copy link
Copy Markdown

Current coverage is 92.40%

Merging #331 into master will decrease coverage by -0.41% as of 2fe92f3

@@            master   #331   diff @@
=====================================
  Files           20     20       
  Stmts         1754   1765    +11
  Branches       303    303       
  Methods          0      0       
=====================================
+ Hit           1628   1631     +3
- Partial         33     34     +1
- Missed          93    100     +7

Review entire Coverage Diff as of 2fe92f3

Powered by Codecov. Updated on successful CI builds.

@bitprophet
Copy link
Copy Markdown
Member

Rolling into custom patch for #152

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Interrupting a running task with Ctrl+C

3 participants