Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Ctrl-break in VSC Powershell #49

Open
nocodehummel opened this issue May 5, 2023 · 0 comments
Open

Issue with Ctrl-break in VSC Powershell #49

nocodehummel opened this issue May 5, 2023 · 0 comments
Assignees

Comments

@nocodehummel
Copy link

After exiting rdcli in a Powershell terminal in VSC and starting a Node.js server, that server does not respond to Ctrl-break (SIGTERM). I have tested many scenarios to find a root-cause and this is somehow caused by this Redis client in the following reproduction path.

  1. Open a Powershell terminal in VSC.
  2. Execute rdcli to connect with a remote Redis instance.
  3. exit the Redis client (with/without any other command).
  4. Start Node.js server with npm run next.
  5. Ctrl-break is not working to stop the server.

According the Node.js documentation SIGTERM in Windows does not work when the terminal raw mode is enabled. A search on this repo does however not give any hits on setRawMode.

It would be great if this annoyance could be resolved.

@johackim johackim self-assigned this Jun 22, 2024
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

No branches or pull requests

2 participants