Dev Home version
No response
Windows build number
No response
Other software
No response
Steps to reproduce the bug
On a fresh VM without terminal being hydrated attempt to install a WSL distribution through Dev Home's create environment flow
This accounts for 3.9% of all Wsl creation errors
Expected result
User is able to install a WSL distribution without error
Actual result
The user receives the following error:
An error occurred trying to start process 'wt.exe' with working directory 'C:\\Windows\\system32
Note: The terminal package on the user's computer is likely the stub version and not fully installed yet. So, wt.exe doesn’t exist in %userprofile%\AppData\Local\Microsoft\WindowsApps yet. If terminal isn’t hydrated we should fallback to cmd. The code to use wsl.exe in cmd is in the extension but not the fallback behavior. Fixing Enable launching WSL distros with the user's default terminal application · Issue #3572 · microsoft/devhome (github.com) should in turn fix this issue for us.
Included System Information
No response
Included Extensions Information
No response