We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5d6751 commit 1c5c97dCopy full SHA for 1c5c97d
src/pyproject_hooks/_impl.py
@@ -95,7 +95,7 @@ def quiet_subprocess_runner(
95
) -> None:
96
"""Call the subprocess while suppressing output.
97
98
- This uses :func:`subprocess.run` with `stdout=PIPE, stderr=STDOUT` under the hood.
+ This uses :func:`subprocess.run` with `stdout=DEVNULL, stderr=DEVNULL` under the hood.
99
"""
100
env = os.environ.copy()
101
if extra_environ:
@@ -105,8 +105,8 @@ def quiet_subprocess_runner(
105
cmd,
106
cwd=cwd,
107
env=env,
108
- stdout=subprocess.PIPE,
109
- stderr=subprocess.STDOUT,
+ stdout=subprocess.DEVNULL,
+ stderr=subprocess.DEVNULL,
110
check=True,
111
)
112
0 commit comments