Before this patch, terminology doesn't work if there are spaces in the path.
Apparently, this has something to do with the terminology itself and how the -e flag works for it (i.e. it does not sufficiently escape input arguments in comparison with other terminals).
We can bypass this problem by using a $SCRIPT wrapped in quotation marks, as is the case with the xdg-terminal.
But we need to fix all problems with $SCRIPT usage first here:
https://sourceforge.net/p/codeblocks/tickets/1570/
https://sourceforge.net/p/codeblocks/tickets/1571/
https://sourceforge.net/p/codeblocks/tickets/1572/