diff options
author | Greg Noel <GregNoel@tigris.org> | 2008-11-09 02:02:04 +0000 |
---|---|---|
committer | Greg Noel <GregNoel@tigris.org> | 2008-11-09 02:02:04 +0000 |
commit | 219dbade7f3b5e6be49fc29b7caf1069d616a1b5 (patch) | |
tree | dab005d5c78a9aa66ad09541076ae8d723c3463e /src/engine/SCons/Environment.py | |
parent | e5e7479b1abd5301b28b7e0d25dd60e1fe0e129a (diff) | |
download | scons-219dbade7f3b5e6be49fc29b7caf1069d616a1b5.tar.gz |
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 5ac10ac1..327e0d10 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, } |