You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bugIssue identified by VS Code Team member as probable bugterminalGeneral terminal issues that don't fall under another labelupstreamIssue identified as 'upstream' component related (exists outside of VS Code)verifiedVerification succeededwindowsVS Code on Windows issues
Tereza Tomcova (@the-ress) just tested your winpty patch and it correctly returns the process list without the notepad process launched via start notepad 👍
For me this is still occurring on for version 1.18 on Windows 10 with node js. If I kill the terminal using the garbage bin button the node processes are killed correctly. If VS Code is closed the processes keep running.
Sébastien Van Bruaene (@Beretta1979) I am on Windows 10 and VS Code 1.18.0 and the integrated terminal I am using is cmd.exe. I used an external PowerShell terminal and did tasklist -fi "imagename eq node.exe" after doing npm start and closing using the bin button and after doing npm start and closing VS Code as a whole and in my case it worked as it should have. What is in your terminal.integrated.shell.windows setting?
bugIssue identified by VS Code Team member as probable bugterminalGeneral terminal issues that don't fall under another labelupstreamIssue identified as 'upstream' component related (exists outside of VS Code)verifiedVerification succeededwindowsVS Code on Windows issues
Activity
dbaeumer commentedon May 17, 2017
This also affects the task runner when using the terminal as the execution engine
dbaeumer commentedon May 17, 2017
Executing this natively in a PowerShell command prompt and using Ctrl+C to interrupt the process works as expected.
dbaeumer commentedon May 17, 2017
Using node version 6.5.0 but happens with 7.10.0 for me as well.
dbaeumer commentedon May 18, 2017
I just noticed that this also happens in Hyper.js. Looks like something has changed how winpty-agent launches processes.
Tyriar commentedon May 19, 2017
Related: #26897
Tyriar commentedon May 25, 2017
I actually can't reproduce using your steps on:
I tried 3 times and every time both node and conhost processes are terminated after around 5 seconds max which is consistent with the code https://github.com/Microsoft/vscode/blob/f95866f07eaf1cdea610479a11778ae82f69bf4b/src/vs/workbench/parts/terminal/node/terminalProcess.ts#L129
Any more info on a repro would be good. What version of Windows are you on?
68 remaining items
the-ress commentedon Sep 8, 2017
Daniel Imms (@Tyriar) no, it's still WIP/PoC. Yes, of course you can.
the-ress commentedon Sep 16, 2017
Created rprichard/winpty#130 with winpty part of the changes.
Tyriar commentedon Oct 3, 2017
Tereza Tomcova (@the-ress) just tested your winpty patch and it correctly returns the process list without the notepad process launched via
start notepad👍Tyriar commentedon Oct 3, 2017
Thanks to Tereza Tomcova (@the-ress) this is now fixed at the node-pty level. 🎉
Tereza Tomcova (@the-ress) when the winpty PR is finalized I'll pull the latest code into the next version of node-pty.
edongashi commentedon Oct 15, 2017
I am experiencing this issue on win 10 x64.
node.exe gets orphaned when using
npm run ***and closing vs code.Tested with git bash and ps as terminal.
Tyriar commentedon Oct 18, 2017
Edon Gashi (@edongashi) the fix for this will be out in v1.18, you can try it out now in the Insiders build https://code.visualstudio.com/insiders
edongashi commentedon Oct 19, 2017
Tried it. It's working as expected. Thanks!
Beretta1979 commentedon Nov 13, 2017
For me this is still occurring on for version 1.18 on Windows 10 with node js. If I kill the terminal using the garbage bin button the node processes are killed correctly. If VS Code is closed the processes keep running.
TomasHubelbauer commentedon Nov 13, 2017
Sébastien Van Bruaene (@Beretta1979) I am on Windows 10 and VS Code 1.18.0 and the integrated terminal I am using is
cmd.exe. I used an external PowerShell terminal and didtasklist -fi "imagename eq node.exe"after doingnpm startand closing using the bin button and after doingnpm startand closing VS Code as a whole and in my case it worked as it should have. What is in yourterminal.integrated.shell.windowssetting?Beretta1979 commentedon Nov 13, 2017
Tomáš Hübelbauer (@TomasHubelbauer) I tested this both with terminal.integrated.shell.windows set to powershell (default) as with cmd.exe
Kill process tree when killing terminal
[email protected]