Browse Source

Upgrade waf to 1.5.14a

v0.7.4-release
Ryan Dahl 15 years ago
parent
commit
5809483b78
  1. 4
      tools/wafadmin/Tools/config_c.py

4
tools/wafadmin/Tools/config_c.py

@ -541,8 +541,10 @@ def run_c_code(self, *k, **kw):
# if we need to run the program, try to get its result
if kw['execute']:
ak = {} # syntax for python < 2.5, don't touch
ak['stdout'] = ak['stderr'] = Utils.pproc.PIPE
args = Utils.to_list(kw.get('exec_args', []))
proc = Utils.pproc.Popen([lastprog], *args, stdout=Utils.pproc.PIPE, stderr=Utils.pproc.PIPE)
proc = Utils.pproc.Popen([lastprog], *args, **ak)
(out, err) = proc.communicate()
w = self.log.write
w(str(out))

Loading…
Cancel
Save