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

target not accepting paths with spaces #136

Open
dt192 opened this issue Jun 1, 2023 · 2 comments
Open

target not accepting paths with spaces #136

dt192 opened this issue Jun 1, 2023 · 2 comments

Comments

@dt192
Copy link

dt192 commented Jun 1, 2023

-t path Specify where to place compiled files

I tried single quotes, double quotes and no quotes. None resulted in the files being compiled in the right place.

Microsoft Windows [Version 10.0.19045.2965]
(c) Microsoft Corporation. All rights reserved.

D:\user\projects\lua\yue\another_project>..\yue --target=5.1 -s -t 'D:\path with spaces\Yue\' yue\

D:\user\projects\lua\yue\another_project>..\yue --target=5.1 -s -t "D:\path with spaces\Yue\" yue\
no input files

D:\user\projects\lua\yue\another_project>..\yue --target=5.1 -s -t D:\user\path with spaces\Yue\ yue\
Built yue\main.yue
Failed to read file: path
Failed to read file: with
Failed to read file: spaces\Yue\
@pigpigyyy
Copy link
Owner

Just did some tests, the correct command can be with double quotes.

yue --target=5.1 -s -t "D:\path with spaces\Yue" yue\

@dt192
Copy link
Author

dt192 commented Jun 5, 2023

OK, tested again, seems that the issue is the trailing backslash rather than the spaces.

2023-06-05_10-48

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

2 participants