Re: Is their a way for a Child process to modify its Parent's environment?

2014-06-26 Thread Steven Schveighoffer via Digitalmars-d-learn
On Tue, 24 Jun 2014 21:53:51 -0400, WhatMeWorry wrote: I open a command line window, and run the following 6 line program void main() { string envPath = environment["PATH"]; writeln("PATH is: ", envPath); envPath ~= r";F:\dmd2\windows\bin"; environment["PATH"] = envPath;

Re: Is their a way for a Child process to modify its Parent's environment?

2014-06-25 Thread Jacob Carlborg via Digitalmars-d-learn
On 2014-06-25 03:53, WhatMeWorry wrote: I open a command line window, and run the following 6 line program void main() { string envPath = environment["PATH"]; writeln("PATH is: ", envPath); envPath ~= r";F:\dmd2\windows\bin"; environment["PATH"] = envPath; envPath = envir

Is their a way for a Child process to modify its Parent's environment?

2014-06-24 Thread WhatMeWorry via Digitalmars-d-learn
I open a command line window, and run the following 6 line program void main() { string envPath = environment["PATH"]; writeln("PATH is: ", envPath); envPath ~= r";F:\dmd2\windows\bin"; environment["PATH"] = envPath; envPath = environment["PATH"]; writeln("PATH is: ", envPa