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

Errors on Windows with paths containing spaces #103

Open
IsakSundeSingh opened this issue Aug 31, 2020 · 0 comments
Open

Errors on Windows with paths containing spaces #103

IsakSundeSingh opened this issue Aug 31, 2020 · 0 comments

Comments

@IsakSundeSingh
Copy link

IsakSundeSingh commented Aug 31, 2020

This line doesn't work on Windows with paths containing spaces as it passes the path directly as an argument to the command-line.
E.g. if info.path is C:/Program Files/[...] the command executed is elm make --output=C:/Program and the rest is truncated and the command errors with invalid path. Simply wrapping the path in "'s should work, e.g., options.output = '"' + info.path + '"', but I'm not sure if it's sufficient for other edge-cases.

options.output = info.path;

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

1 participant