Better error messages and known exit codes for wsl.exe
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 33.7k
- Forks
- 1.8k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 116
Description
`wsl.exe` prints some error numbers and returns some error return codes which get printed in Terminal
It would be nice to have text explanations printed in Terminal instead of `Wsl/Service/0xd00002fe` and somehow let Terminal recognize exit-codes such as 0xffffffff and have it print some reason corresponding to this exit-code.
Original discussion:
- https://github.com/microsoft/terminal/issues/12410#issuecomment-2394695185
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 at the wsl.exe error-number and exit-code reporting described in this issue, then read the linked original discussion for context. The work is complete when the reported errors have understandable terminal text and the relevant exit codes expose corresponding reasons instead of opaque values.
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
- Needs clarification
- Newbie friendliness
- 35/100