Skip to content

There are unexpected ghost processes after closing VSCode #298534

@JaderoChan

Description

@JaderoChan

Does this issue occur when all extensions are disabled?: No

  • VS Code Version: 1.109.5
  • OS Version: Windows 11 (Windows_NT x64 10.0.22631)

Details:

After starting VSCode from the terminal using the code command, even if the VSCode window and terminal are closed, there is still a terminal ghost process in the backend (It can be seen in the Task Manager

Steps to Reproduce:

  1. Press Win+R to open Run dialog and input cmd to open a terminal.
  2. Input code to open VSCode.
  3. Close the VSCode and terminal.
  4. View Task Manager on Windows.
  5. You will see a ghost terminal Process at the bottom of the Windows Process area. (After repeated tests, it was confirmed that this process was generated by the above operation)

Metadata

Metadata

Assignees

Labels

ai-triagedbugIssue identified by VS Code Team member as probable bugterminal-processProblems launching processes, managing ptys, exiting, process leaks, etc.windowsVS Code on Windows issuesworkbench-cliVS Code Command line issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions