std.process.system and friends

Peter Sommerfeld noreply at rubrica.at
Thu Feb 7 16:37:45 PST 2013


Ali Çehreli wrote:

> On 02/07/2013 02:58 PM, Peter Sommerfeld wrote:
>
>  > The point is you cannot *set* the path variable.
>  > But meanwhile I think it isn't a good idea anyway.
>  > The PATH belongs to the user/system, not to programs.
>  > Otherwise that may introduce some harm...
>
> The environment is private to the running process (unless some of the  
> variables are "exported" to child processes of that process.) There is  
> no danger of affecting the system.

Regarding the PATH win7 seems not to thinks so. May be on *nix?

Peter


More information about the Digitalmars-d-learn mailing list