Prevent `wsl --install` from launching separate windows
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 33.7k
- Forks
- 1.8k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 116
Description
Is your feature request related to a problem? Please describe.
When I type wsl --install Ubuntu, after it finishes the installation it opens a new prompt for finishing up the Ubuntu installation (equivalent of running Ubuntu from the Start Menu). But this new window is unnecessary. Everything could be done at the first terminal window.
Describe the solution you'd like
Instead of launching another window, I would like wsl --install to attach to the current terminal, equivalent to the user running ubuntu.exe from within the PowerShell or CMD.
Describe alternatives you've considered
None.
Additional context
None.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the wsl --install Ubuntu command path and the code responsible for launching the post-install Ubuntu prompt. Compare its behavior with running ubuntu.exe from PowerShell or CMD. Done means installation finishes in the original terminal without opening a separate window.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli, operating-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100