changed stderr from PIPE to DEVNULL (debug data was getting written to stdout)

This commit is contained in:
Faraphel 2022-07-15 16:42:28 +02:00
parent 22adc6e29e
commit d7a8e3c40b

View file

@ -121,7 +121,7 @@ def _run_popen(tools_path: Path | str, *args, universal_newlines=False) -> subpr
[tools_path, *args],
stdin=subprocess.PIPE,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
stderr=subprocess.DEVNULL,
creationflags=subprocess.CREATE_NO_WINDOW,
bufsize=1 if universal_newlines else None,
universal_newlines=universal_newlines,