diff options
author | Greg Noel <GregNoel@tigris.org> | 2008-11-09 02:02:04 (GMT) |
---|---|---|
committer | Greg Noel <GregNoel@tigris.org> | 2008-11-09 02:02:04 (GMT) |
commit | cbce8f24f4e240f70a00d761c45a168d2d974a60 (patch) | |
tree | dab005d5c78a9aa66ad09541076ae8d723c3463e /src/engine/SCons/Environment.py | |
parent | 6d318b82077404a03e2bc2d1f4f069bdcabd0579 (diff) | |
download | SCons-cbce8f24f4e240f70a00d761c45a168d2d974a60.zip SCons-cbce8f24f4e240f70a00d761c45a168d2d974a60.tar.gz SCons-cbce8f24f4e240f70a00d761c45a168d2d974a60.tar.bz2 |
Issue 2228: discard stderr by using os.devnull
Diffstat (limited to 'src/engine/SCons/Environment.py')
-rw-r--r-- | src/engine/SCons/Environment.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/engine/SCons/Environment.py b/src/engine/SCons/Environment.py index 5ac10ac..327e0d1 100644 --- a/src/engine/SCons/Environment.py +++ b/src/engine/SCons/Environment.py @@ -527,7 +527,8 @@ class SubstitutionEnvironment: def backtick(self, command): import subprocess # common arguments - kw = { 'stdout' : subprocess.PIPE, + kw = { 'stdin' : 'devnull', + 'stdout' : subprocess.PIPE, 'stderr' : subprocess.PIPE, 'universal_newlines' : True, } |