wsl-sudo icon indicating copy to clipboard operation
wsl-sudo copied to clipboard

Invoke admin wsl with same distribution as caller

Open smichaku opened this issue 2 years ago • 1 comments

If more than one distribution is installed WSL will use the default one. This commit makes sure it the admin WSL will run in the same WSL distribution as the one which caller wsl-sudo.

smichaku avatar Nov 29 '23 14:11 smichaku

LGTM, this resolves #4 for me

(#4 may also result from a non-admin account, we could print a better error in a future PR)

Tahlor avatar Feb 20 '25 22:02 Tahlor