On 24/06/2024 4:33 AM, realhet wrote:
Hi,Is there a way to call an external program from CTFE?
No. This is on purpose due to "security" and reproducibility concerns.
The nearest thing I've found is the "include file contents" 'macro', that can be enabled with a command line parameter. (Maybe it's already deprecated, I'm not sure.)
See above why the string imports was designed that way.