Minimal Windows → WSL command forwarder that reduces the friction of maintaining two separate toolchains on Windows and WSL.
It maps Windows-style paths in arguments to WSL paths and then executes the command inside WSL.
- Build the Windows binary.
- Rename
wslx.exeto the command you want to forward (for examplegit.exe). - Run it normally from Windows.
Example:
git status
git -C "C:\work\repo" statusNotes:
- Only arguments are converted. Output is passed through unchanged.