Skip to content
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

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

Open
cronhan opened this issue May 10, 2024 · 0 comments
Open
Labels
Area-TerminalConnection Issues pertaining to the terminal<->backend connection interface Issue-Bug It either shouldn't be doing this or needs an investigation. Product-Terminal The new Windows Terminal.

Comments

@cronhan
Copy link

cronhan commented May 10, 2024

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.

@cronhan cronhan added Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels May 10, 2024
@carlos-zamora carlos-zamora added this to the Terminal v1.22 milestone May 15, 2024
@carlos-zamora carlos-zamora added Area-TerminalConnection Issues pertaining to the terminal<->backend connection interface Product-Terminal The new Windows Terminal. and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-TerminalConnection Issues pertaining to the terminal<->backend connection interface Issue-Bug It either shouldn't be doing this or needs an investigation. Product-Terminal The new Windows Terminal.
Projects
None yet
Development

No branches or pull requests

2 participants