From 58386c4df38b72b0baf51fbe2e0aba3ed9c45e87 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Fri, 6 May 2016 01:14:01 +0530 Subject: [PATCH] compilers: Remove spurious wait while running sanity check Popen.communicate() already waits for the process to complete. --- mesonbuild/compilers.py | 1 - 1 file changed, 1 deletion(-) diff --git a/mesonbuild/compilers.py b/mesonbuild/compilers.py index 492b790d7..723d8fcac 100644 --- a/mesonbuild/compilers.py +++ b/mesonbuild/compilers.py @@ -830,7 +830,6 @@ class CPPCompiler(CCompiler): mlog.debug('-----\nSanity check compile stderr:') mlog.debug(stde) mlog.debug('-----') - pc.wait() if pc.returncode != 0: raise EnvironmentException('Compiler %s can not compile programs.' % self.name_string()) if self.is_cross: