Skip to content

Commit

Permalink
remove stdout=subprocess.PIPE from env._call, see python-poetry#7698
Browse files Browse the repository at this point in the history
  • Loading branch information
fzahle committed Mar 21, 2023
1 parent 71b3d6e commit 50c4c53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/poetry/utils/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -1538,7 +1538,7 @@ def _run(self, cmd: list[str], **kwargs: Any) -> int | str:
).stdout
elif call:
return subprocess.call(
cmd, stdout=subprocess.PIPE, stderr=stderr, env=env, **kwargs
cmd, stderr=stderr, env=env, **kwargs
)
else:
output = subprocess.check_output(cmd, stderr=stderr, env=env, **kwargs)
Expand Down

0 comments on commit 50c4c53

Please sign in to comment.