When script hangs you can't stop it
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- JavaScript
- Stars
- 507
- Forks
- 45
- Avg merge
- 11h 22m
- Merged PRs (30d)
- 4
Description
In Node.js, CTRL+C doesn't work when the script is executing and hangs. You need to kill the process.
A possible solution is to use worker_threads for the eval in Node.js.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the Node.js evaluation entry point and reproduce a hanging script while testing CTRL+C behavior. Read how evaluation is currently run, then determine how worker_threads could isolate it and how interruption should stop the work; done means a hanging script can be interrupted without manually killing the process.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- node.js
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100