Skip to content

Integrated terminal automatically sends 'Y' when terminating node batch script #142341

@stephenmatheis

Description

@stephenmatheis

Thank you so much for looking into this 🙏 !

Issue Type: Bug

~ > npm run concurrently \"script-1.js\" \"script-2.js\"
~ > [ type >> ctrl + c]
~ > Terminate batch job (Y/N)? Y (this character is automatically sent, but only terminates first script, putting remaining output in prompt on next line)
~ > [0] node script-name
~ > [type >> enter]
~ >                                                   y (character is still present, with spaces prepended)
~ > y : The term 'y' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name,   
or if a path was included, verify that the path is correct and try again.
At line:1 char:1
  • The character y is never typed.
  • This does not happen in Windows Terminal. ctrl + c works as expected.

VS Code version: Code 1.64.0 (5554b12, 2022-02-03T04:22:20.678Z)
OS version: Windows_NT x64 10.0.19044
Restricted Mode: No

System Info
Item Value
CPUs AMD Ryzen 9 3900X 12-Core Processor (24 x 3793)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 31.93GB (22.74GB free)
Process Argv C:\Users\steph\OneDrive\Documents\GitHub\robi --crash-reporter-id bc47a489-a287-44e8-9f71-a241e2b29255
Screen Reader no
VM 0%
Extensions (10)
Extension Author (truncated) Version
es6-string-css bas 0.1.0
python ms- 2022.0.1786462952
vscode-pylance ms- 2022.2.0
jupyter ms- 2022.1.1001775990
remote-wsl ms- 0.64.2
powershell ms- 2021.12.0
LiveServer rit 5.7.4
es6-string-html Tob 2.12.0
vscode-todo-highlight way 1.0.5
es6-string-javascript zjc 1.0.1
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyl392cf:30425750
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
pythondataviewer:30285071
vscod805:30301674
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
vsc1dst:30433059
pythonvs932:30410667
wslgetstartedc:30433508
vscop940:30404999
vsrem710:30416614
vscop841:30430977

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugcandidateIssue identified as probable candidate for fixing in the next releaseterminal-conptyIntegrated terminal issues related to the ConPTY backendterminal-inputRelating to typing in the terminal not doing the right thing, IMEs not working, etc.unreleasedPatch has not yet been released in VS Code InsidersverifiedVerification succeededwindowsVS Code on Windows issues

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions