What command shell is used for STM32CubeIDE's pre- and post-build steps.
What shell is used to execute pre- and post-build steps in CubeIDE? It seems to be different to my system shell.
I have a pre-build (bash) script that I want to run automatically before each build. I've added the line to execute it to the projects Properties/C/C++ Build/Settings/Build steps. The script is only one line, namely:

This error basically says that the awk version does not support the -i inplace option, so the version is older. If I remove the option, the file isn't edited in place but printed to the terminal, and the command works as expected (also in CubeIDE). When I launch a command shell console from CubeIDE however, and check the version of awk it is the same as my system version. It seems to me that the pre-build step is executed in a different shell enviroment.
