-
Notifications
You must be signed in to change notification settings - Fork 29.4k
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
Ctrl+C does not stop node server in external Command Line #25195
Comments
@raelb does this still happen when you add this to your settings? "terminal.external.windowsExec": "C:\\Windows\\sysnative\\cmd.exe" |
If I add that setting it works fine. Note after I install VS Code it already has similar setting: // Place your settings in this file to overwrite the default settings |
We should just hardcode 32/64-bit cmd.exe then if that works, right now we point to the |
I can reproduce. This has been a bug for the longest time. Also this true not just for node processes. E.g. when I launch a go web service that I'm developing. |
I merged #29352 which should select the sysnative version. I noticed two things though, firstly I couldn't reproduce the issue on my machine (Windows 10 64-bit), plus I didn't see it change to Sysnative using the same trick we used to fix a similar issue with 64-bit PowerShell. This may be blocked by shipping a 64-bit version of VS Code. I'm interested to hear if the problem is fixed in Insiders on Monday. |
I'll test when this gets released. |
Works for me, adding verified. |
Edit: found an open issue more appropriate.... #9347 |
From a normal Windows command prompt,
ctrl+c
will stop a node server running.However, if I start the command prompt via the
VS Code
menu itemOpen in Command Prompt
, then pressingctrl+c
(even multiple times) does not stop the server as usual.Running on Windows 10 x64
VS Code 1.11.2
Also asked on SO:
http://stackoverflow.com/questions/43531894/ctrlc-does-not-stop-node-server-in-command-line-from-vs-code
The text was updated successfully, but these errors were encountered: