jcubic / jcubic/lips

When script hangs you can't stop it

Open
#558 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.