2024-02-21 06:28 AM
Hello,
I'm trying to run some script as postbuild, but i'm stuck on path with spaces. I'm using Win10.
Here is one of examples that i tried. I tried also with batch files, directly cmd commands. Single and double quotes.
And it looks, like CubeIde omits quotes when launching command. In console i see command with quotes, but result e.g. from powershell indicates, that he received it without.
Is there any way to solve this?
powershell.exe -command Set-Location -literalPath 'D:\projects\path with spaces';./deploy.ps1
2024-02-21 06:59 AM
Paths with spaces (and other "special" characters) will always cause problems - avoid them like the plague!
https://www.avrfreaks.net/s/topic/a5C3l000000UY8vEAG/t145039?comment=P-1182240