std.process.system and friends

Ali Çehreli acehreli at yahoo.com
Thu Feb 7 16:03:50 PST 2013


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.

Ali



More information about the Digitalmars-d-learn mailing list