Skip to content
Snippets Groups Projects
Unverified Commit d6f41bcf authored by Austin Welch's avatar Austin Welch Committed by GitHub
Browse files

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

parent d837fc1c
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment