diff options
author | Steven Knight <knight@baldmt.com> | 2010-06-06 00:40:06 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2010-06-06 00:40:06 (GMT) |
commit | 2fc4d8d28cfba093f9d14c4215cee301aa6602c7 (patch) | |
tree | c785d935204139f147bea5f0d80febf7ab0b63de /test/explain | |
parent | 2e4ed805ab3387ff33aac7b3d347febe39f13391 (diff) | |
download | SCons-2fc4d8d28cfba093f9d14c4215cee301aa6602c7.zip SCons-2fc4d8d28cfba093f9d14c4215cee301aa6602c7.tar.gz SCons-2fc4d8d28cfba093f9d14c4215cee301aa6602c7.tar.bz2 |
When trying to execute v[cs]*vars*.bat scripts to fetch the Visual
{C++,Studio} environment variables, propagate %COMSPEC% and any
%VS*COMNTOOLS% variables from os.environ, since they're outright
required for Express versions of the scripts (and maybe others) to
execute correctly. Only propagate the values if they're not manually
set in the ENV execution environment.
Additionally, if the script execution put anything on stderr, propagate
it to our stderr so we don't swallow errors. (Unfortunately, errors
don't necessarily cause these scripts to exit non-zero.)
Diffstat (limited to 'test/explain')
0 files changed, 0 insertions, 0 deletions