Skip to content

Restart-connection on an active terminal does not terminate original process #17237

Open
@cronhan

Description

@cronhan

Windows Terminal version

1.19.11213.0

Windows build number

10.0.22631.3447

Other Software

No response

Steps to reproduce

  • Open Windows terminal
  • Open Process Explorer and find the WindowsTerminal.exe process in the tree
  • Observe that there is one OpenConsole.exe and a shell process e.g. pwsh.exe
  • Run the "Restart connection" command
  • Observe that there are now two OpenConsole.exe and pwsh.exe (or whatever was running before), and there is no way to interact with the original processes (that I am aware of)

Expected Behavior

Running "Restart connection" terminates the shell in the current tab before launching a new one (or after, I don't care).

Actual Behavior

The original shell process remains and is not accessible any more.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-TerminalConnectionIssues pertaining to the terminal<->backend connection interfaceIssue-BugIt either shouldn't be doing this or needs an investigation.Product-TerminalThe new Windows Terminal.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions