Menu

#1225 Problem with ExtraCommands calling cbExpandBackticks in for loop on Windows

Undefined
open
nobody
None
Bug_Report
2022-03-05
2022-03-05
No

If I ad the following as an ExtraCommands then it will fail, but if I comment out the cbExpandBackticks(cmd->command); line in compiler.gcc then the line works correctly:

<Add after="cmd /c &quot;(for /F &quot;usebackq delims=^=^ &quot; %%a in ("dir /b/s "$(CODEBLOCKS)....\src\exchndl\win64\bin*.*" ") do @echo %%a )&quot;" />

To test this you will need to change the directory reference to the src\exchndl\win64 directory.

Removing the line is not correct, but shows where the issue is.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.