X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fwscript;fp=src%2Fwx%2Fwscript;h=24c2b8b5eb923985c825a3f67fe1f2a4d995367d;hb=00949e21e0ba292bd96a1ff91f40b77d640a50ef;hp=3be3a6763695b0e0ab620224c607479408dfecd3;hpb=e1eb3e861b93226e5fbc196efccdf920132d9b7d;p=dcpomatic.git diff --git a/src/wx/wscript b/src/wx/wscript index 3be3a6763..24c2b8b5e 100644 --- a/src/wx/wscript +++ b/src/wx/wscript @@ -171,7 +171,7 @@ def configure(conf): conf.env.STLIBPATH_WXWIDGETS = stlib_paths conf.in_msg = 1 - wx_version = subprocess.check_output([wx_config, '--version']).decode('UTF-8') + wx_version = subprocess.Popen([wx_config, '--version'], stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate()[0].decode('UTF-8') conf.in_msg = 0 if not wx_version.startswith('3.0.'): conf.fatal('wxwidgets version 3.0.x is required; %s found' % wx_version)