cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CudeIDE postbuild, path with spaces problem

Jan Wustrau
Associate II

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

 

 

1 REPLY 1
Andrew Neil
Evangelist III

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