[Scons-users] env.Command and _process_ environment variables :-(

Gary Oberbrunner garyo at oberbrunner.com
Tue Oct 16 14:44:16 EDT 2012


On Tue, Oct 16, 2012 at 2:19 PM, Pedro Larroy
<pedro.larroy.lists at gmail.com>wrote:


> Hi

>

> I reproduced with a minimal setup. I think it's a bug, see the

> attached zip file. When executing run.bat the two environments

> differ, the one that is displayed by show.py lacks VS11 related stuff

> in the PATH.

>

> https://www.dropbox.com/sh/h6c8w3wjnfw5z6i/tAEBi2eHuE/path.zip

>

> Should I fill a ticket?

>


I'm not sure. Try this: after creating the Environment, reset env['ENV']
so:
env['ENV'] = os.environ
and see if it works then. It may be that the MSVC tool is bashing the env
after it gets set to os.environ.

--
Gary
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20121016/595eed41/attachment.html>


More information about the Scons-users mailing list