Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Conversation

kt3k
Copy link
Contributor

@kt3k kt3k commented May 18, 2022

Ctrl-C is propagated to child processes when you invoke the cli from your terminal, but if you start aleph in testing, then SIGINT (Ctrl-C) is not sent to child process. That causes the child process remaining after test runs.

This PR fixes the above issue.

This node.js issue discusses a similar problem. See especially this comment

Copy link
Member

@ije ije left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@ije ije merged commit 9b6c281 into alephjs:main May 19, 2022
@kt3k kt3k deleted the send-signal-on-exit branch May 19, 2022 04:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants