i found the reason
the problem is, that wx-config doesn't return anything to stdout, when it errors out,
this obviously confuses the backticked-command expander
the reason, why it behaves different when using from the IDE or from batchbuild
is obviously located in the environment variables plugin.
normally i don't have an environment variable WXWIN defined,
but i defined it to a valid value in the environmentvariables plugin,
which works fine with wx-config when using from the ide
defined in environment variables: WXWIN=D:\wx263
`wx-config --cxxflags` expands fine to shared ansi release wx-library
when batchbuilding the same project, CB hangs because `wx-config --cxxflags` doesn't return anything
evidence:
when using `wx-config --prefix=d:\wx263 --cxxflags` instead, then the project builds fine from the IDE and
from batch-build.
conclusion:
wx-config should return at least an error message if it couldn't find the requested wx-library
CB should check if there was any character returned and handle the case if no chars are coming instead of hanging around lazy
CB environment variables plugin should also work in batch-build mode !!!!
brgds, tiwag