[Fix] Send stderr to subprocess.PIPE (#740)

This commit is contained in:
Austin Welch 2022-11-18 01:54:53 -05:00 committed by GitHub
parent d837fc1ca7
commit d6f41bcf74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,8 +58,9 @@ def _minimal_ext_cmd(cmd):
env['LANGUAGE'] = 'C'
env['LANG'] = 'C'
env['LC_ALL'] = 'C'
out = subprocess.Popen(
cmd, stdout=subprocess.PIPE, env=env).communicate()[0]
out, err = subprocess.Popen(
cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE,
env=env).communicate()
return out