From bf5a825317fc16edc0cac853e8e2e00bb46bc838 Mon Sep 17 00:00:00 2001 From: Thomas Nagy Date: Fri, 29 Jan 2021 23:46:05 +0100 Subject: [PATCH] Work around faulty vcvarsall.bat scripts #2315 --- waflib/Tools/msvc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waflib/Tools/msvc.py b/waflib/Tools/msvc.py index bf7abf01..e3e6da41 100644 --- a/waflib/Tools/msvc.py +++ b/waflib/Tools/msvc.py @@ -187,7 +187,7 @@ echo PATH=%%PATH%% echo INCLUDE=%%INCLUDE%% echo LIB=%%LIB%%;%%LIBPATH%% """ % (vcvars,target)) - sout = conf.cmd_and_log(['cmd.exe', '/E:on', '/V:on', '/C', batfile.abspath()]) + sout = conf.cmd_and_log(['cmd.exe', '/E:on', '/V:on', '/C', batfile.abspath()], stdin=getattr(Utils.subprocess, 'DEVNULL', None)) lines = sout.splitlines() if not lines[0]: