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.

  • Call an external... realhet via Digitalmars-d-learn
    • Re: Call an... Richard (Rikki) Andrew Cattermole via Digitalmars-d-learn
    • Re: Call an... monkyyy via Digitalmars-d-learn
      • Re: Cal... realhet via Digitalmars-d-learn
        • Re:... anyaburke via Digitalmars-d-learn

Reply via email to