diff --git a/pyright/_utils.py b/pyright/_utils.py index a3b513e..f2a71a5 100644 --- a/pyright/_utils.py +++ b/pyright/_utils.py @@ -67,7 +67,7 @@ def install_pyright(args: tuple[object, ...], *, quiet: bool | None) -> Path: f'pyright@{version}', cwd=str(cache_dir), check=True, - stdout=subprocess.PIPE if silent else sys.stdout, + stdout=subprocess.PIPE if silent else sys.stderr, stderr=subprocess.PIPE if silent else sys.stderr, )