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]: