BGforgeNet/VScode-BGforge-MLS

Version 2+ cannot compile SSL if the output path contains spaces

blackpaulillyria opened this issue · 12 comments

Hi, I installed the latest version and couldn't compile SSL file to a target path that contained space(s) in its name. For example C:\My Scripts

I had to downgrade to version 1.16.3 which works well with such paths.

What do you mean by couldn't?

It fails to generate .INT file when the target path to the output folder contains a space.

Version 1+ would run the command like this

"D:\ScriptEditor\resources\compile.exe" -q -p -l -O2 -d -s -n test.ssl -o "C:\My Scripts"\test.int

Version 2+ runs it like this

"D:\ScriptEditor\resources\compile.exe" -q -p -l -O2 -d -s -n test.ssl -o C:\My Scripts\test.int

So since it doesn't wrap the target folder into quotes, the command gives back and error instead of INT file. That's what happens on my Windows 10 PC at least.

Is there an error that you see?

stdout: Warning: c:\My not found
Warning: Scripts\.tmp.ssl not found
Warning: -o not found
Warning: test.int not found

Sorry, no luck. Still throws the same error

Show screenshot.

Here you go

image

Try last build, see what it shows then.

Hi, still no luck but I think we're getting closer to fixing it. I see you wrapped the output filename into quotes but not the .tmp.ssl path. If you wrap that path too, the problem would be gone.

image

Ah you got source with spaces.
Should work now.

That's it, works perfectly! Thank you so much!