Skip to content

Commit

Permalink
Preserve stderr in read_version_from_cmd (#514)
Browse files Browse the repository at this point in the history
This respects WDM_LOG_LEVEL when it is not set to zero, so a user can see what is going on when their browser binary does not execute.
  • Loading branch information
xloem committed Jul 22, 2023
1 parent b7c7f98 commit 4e2aa0b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion webdriver_manager/core/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,6 @@ def read_version_from_cmd(cmd, pattern):
with subprocess.Popen(
cmd,
stdout=subprocess.PIPE,
stderr=subprocess.DEVNULL,
stdin=subprocess.DEVNULL,
shell=True,
) as stream:
Expand Down

0 comments on commit 4e2aa0b

Please sign in to comment.