Skip to content

Commit 5809483

Browse files
committed
Upgrade waf to 1.5.14a
1 parent c9c13e0 commit 5809483

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tools/wafadmin/Tools/config_c.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,8 +541,10 @@ def run_c_code(self, *k, **kw):
541541

542542
# if we need to run the program, try to get its result
543543
if kw['execute']:
544+
ak = {} # syntax for python < 2.5, don't touch
545+
ak['stdout'] = ak['stderr'] = Utils.pproc.PIPE
544546
args = Utils.to_list(kw.get('exec_args', []))
545-
proc = Utils.pproc.Popen([lastprog], *args, stdout=Utils.pproc.PIPE, stderr=Utils.pproc.PIPE)
547+
proc = Utils.pproc.Popen([lastprog], *args, **ak)
546548
(out, err) = proc.communicate()
547549
w = self.log.write
548550
w(str(out))

0 commit comments

Comments
 (0)