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

wsl session keeps running in background on automatic update by microsoft store #5731

Closed
Lakerfield opened this issue May 4, 2020 · 1 comment
Labels
Issue-Question For questions or discussion Needs-Tag-Fix Doesn't match tag requirements Resolution-Answered Related to questions that have been answered

Comments

@Lakerfield
Copy link

Environment

Windows build number: Microsoft Windows [Version 10.0.18363.778]
Windows Terminal version: update to 0.11.1191.0 and some versions before

Any other software?
wsl - Ubuntu 18.04.4 LTS

Steps to reproduce

Start a wsl session with a webpack-dev-server process running, wait for update from the microsoft store

Expected behavior

Actual behavior

The wsl process keeps running in the background as a orphaned process and its difficult for a user to terminate the correct one in the taskmanager. I use process explorer to find to one without a parent process.

image

@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels May 4, 2020
@DHowett-MSFT
Copy link
Contributor

As far as I can tell, this is on purpose. WSL supports background execution, so it opts to run in the background on its own. There is nothing Terminal can do to stop this, and there's nothing that we can do to reattach to it.

There is a copy of "OpenConsole.exe" associated with every Terminal tab -- if there's one of those running alongside the stray WSL application, it's a terminal bug. If there isn't, the application explicitly detached itself. 😄 sorry!

@DHowett-MSFT DHowett-MSFT added Issue-Question For questions or discussion Resolution-Answered Related to questions that have been answered and removed Needs-Tag-Fix Doesn't match tag requirements Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels May 4, 2020
@ghost ghost added the Needs-Tag-Fix Doesn't match tag requirements label May 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Question For questions or discussion Needs-Tag-Fix Doesn't match tag requirements Resolution-Answered Related to questions that have been answered
Projects
None yet
Development

No branches or pull requests

2 participants