Yuescript
Yuescript copied to clipboard
target not accepting paths with spaces
-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\
Just did some tests, the correct command can be with double quotes.
yue --target=5.1 -s -t "D:\path with spaces\Yue" yue\
OK, tested again, seems that the issue is the trailing backslash rather than the spaces.