Proper way to exit with specific exit code?

mw mingwu at gmail.com
Sun Nov 13 21:37:47 UTC 2022


On Sunday, 13 November 2022 at 21:16:32 UTC, mw wrote:

> I even tried core.stdc.stdlib.exit(-1), it does not work.

Tried
```
import core.runtime;
    Runtime.terminate();
    core.stdc.stdlib.exit(-1);
```

Still does not work.


More information about the Digitalmars-d-learn mailing list