Proper way to exit with specific exit code?

drathier at
Thu Sep 17 14:58:48 UTC 2020

What's the proper way to exit with a specific exit code?

I found a bunch of old threads discussing this, making sure 
destructors run and the runtime terminates properly, all of which 
seemingly concluding that it's sad that there isn't a way to do 
this easily, but hopefully things have changed in the last 5-10 
years and I'm just missing the obvious solution.

More information about the Digitalmars-d-learn mailing list