Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for when installed in path with spaces #6

Open
ilkhenrique opened this issue Dec 17, 2019 · 2 comments
Open

Fix for when installed in path with spaces #6

ilkhenrique opened this issue Dec 17, 2019 · 2 comments

Comments

@ilkhenrique
Copy link

change control.bat to:

%~d0
cd "%~p0"
for /f %%i in (commands.txt) do (wsl sudo %%i %*)

so that it works when installed under a path that constains spaces

@alexsilva
Copy link

alexsilva commented Apr 17, 2020

Need a pull request.
I encountered the same problem on my machine whose installation path is
E:\Program Files\wslservices

@troytse
Copy link
Owner

troytse commented May 10, 2020

change control.bat to:

%~d0
cd "%~p0"
for /f %%i in (commands.txt) do (wsl sudo %%i %*)

so that it works when installed under a path that constains spaces

Thank you for your suggestion, can you create a pull request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants