D2 port of Sociomantic CDGC available for early experiments

Sean Kelly via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Mon Oct 20 10:19:33 PDT 2014


On Monday, 20 October 2014 at 10:39:28 UTC, Regan Heath wrote:
>
> Sure, but past/current env vars being used are used *privately* 
> to a single program.  What you're suggesting here are env vars 
> which will affect *all* D programs that see them.  If D takes 
> over the world as we all hope it will then this will be a 
> significantly different situation to what you are used to.

I'm not advocating the approach, but you could create a "run_d"
app that simply set the relevant environment args and then
executed the specified app as a child process.  The args would be
picked up by the app without touching the system environment.
This would work on Windows as well as on *nix.


More information about the Digitalmars-d-announce mailing list