nullpo-head / wsl-distrod

Distrod is a meta-distro for WSL 2 which installs Ubuntu, Arch, Debian, Gentoo, etc. with systemd in a minute for you. Distrod also has built-in auto-start feature on Windows startup and port forwarding ability.
MIT License
1.9k stars 90 forks source link

Support spaces in Windows usernames/user folder #82

Open BenjaminBrienen opened 1 year ago

BenjaminBrienen commented 1 year ago

Microsoft will format a user's folder as "C:\Users\FirstName LastName\" in some circumstances. The command line arguments must be quoted to ensure that the file path is treated as one argument.