Don't hide stderr in link_pyqt.py.
We're just hiding useful debug information this way.
This commit is contained in:
parent
2ccb4342a4
commit
8acbdda00e
@ -46,15 +46,13 @@ def run_py(executable, *code):
|
|||||||
f.write('\n'.join(code))
|
f.write('\n'.join(code))
|
||||||
cmd = [executable, filename]
|
cmd = [executable, filename]
|
||||||
try:
|
try:
|
||||||
ret = subprocess.check_output(cmd, universal_newlines=True,
|
ret = subprocess.check_output(cmd, universal_newlines=True)
|
||||||
stderr=subprocess.DEVNULL).rstrip()
|
|
||||||
finally:
|
finally:
|
||||||
os.remove(filename)
|
os.remove(filename)
|
||||||
else:
|
else:
|
||||||
cmd = [executable, '-c', '\n'.join(code)]
|
cmd = [executable, '-c', '\n'.join(code)]
|
||||||
ret = subprocess.check_output(cmd, universal_newlines=True,
|
ret = subprocess.check_output(cmd, universal_newlines=True)
|
||||||
stderr=subprocess.DEVNULL).rstrip()
|
return ret.rstrip()
|
||||||
return ret
|
|
||||||
|
|
||||||
|
|
||||||
def verbose_copy(src, dst, *, follow_symlinks=True):
|
def verbose_copy(src, dst, *, follow_symlinks=True):
|
||||||
|
Loading…
Reference in New Issue
Block a user