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.92k stars 92 forks source link

Support spaces in Windows usernames/user folder #82

Closed BenjaminBrienen closed 2 months 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.