Skip to content

Commit 92418c4

Browse files
authored
fix: Don't hide setup_commands errors
There seems to be no problem in propagating the `stderr` outwards, and without this there is no feedback as to what went wrong in the `setup_commands`. PR #258: #258
1 parent bd8c2bc commit 92418c4

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/mkdocstrings/handlers/python.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,6 @@ def __init__(self, setup_commands: Optional[List[str]] = None) -> None:
152152
self.process = Popen( # noqa: S603,S607 (we trust the input, and we don't want to use the absolute path)
153153
cmd,
154154
universal_newlines=True,
155-
stderr=PIPE,
156155
stdout=PIPE,
157156
stdin=PIPE,
158157
bufsize=-1,

0 commit comments

Comments
 (0)