Don't hide stderr in link_pyqt.py.

We're just hiding useful debug information this way.
This commit is contained in:
Florian Bruhin 2016-01-05 19:17:56 +01:00
parent 2ccb4342a4
commit 8acbdda00e

View File

@ -46,15 +46,13 @@ def run_py(executable, *code):
f.write('\n'.join(code))
cmd = [executable, filename]
try:
ret = subprocess.check_output(cmd, universal_newlines=True,
stderr=subprocess.DEVNULL).rstrip()
ret = subprocess.check_output(cmd, universal_newlines=True)
finally:
os.remove(filename)
else:
cmd = [executable, '-c', '\n'.join(code)]
ret = subprocess.check_output(cmd, universal_newlines=True,
stderr=subprocess.DEVNULL).rstrip()
return ret
ret = subprocess.check_output(cmd, universal_newlines=True)
return ret.rstrip()
def verbose_copy(src, dst, *, follow_symlinks=True):