Call an external program from CTFE
Richard (Rikki) Andrew Cattermole
richard at cattermole.co.nz
Sun Jun 23 16:42:43 UTC 2024
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.
More information about the Digitalmars-d-learn
mailing list