Skip to main content
EdGi
Associate II
Feb 27, 2024 11:03 PM UTC
Question

STM32CubeIDE 1.14.1 still does not run post-build command *Resolved*

The bug which was introduced in 1.14.0 which prevents a post-build step command to run, still exists in 1.14.1 with my project.
I have a Windows batch file which should be run after build, and has worked correctly before version 1.14.0

The result of the build post step is:

..\postprocess.bat
make[1]: *** [makefile:97: post-build] Error -1
make: *** [makefile:65: all] Error 2
"make -j4 all" terminated with exit code 2. Build might be incomplete.

@Semer CHERNI 

Resolution in following post.

This topic has been closed for replies.

3 replies

EdGi
EdGiAuthor
Associate II
Feb 28, 2024 5:30 PM UTC

It appears that the post-build command is now intolertant of spaces in project paths.
I was able to resolve the problem in my case by surrounding my batch file name in double-quotation marks as follows:

"..\postprocess.bat" param1 param2

lili
Explorer
Jun 6, 2025 12:49 AM UTC

Thank you so much for your post, it really helped me! 

1.17.0

Simon Sq
Associate II
Jul 1, 2024 9:25 AM UTC

Thank EdGi.

This also worked for me using STM32CubeIDE v1.15.1