Skip to content

Commit

Permalink
[py]: Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
symonk committed Jul 30, 2023
1 parent f41bc81 commit 642c4fd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions py/selenium/webdriver/common/selenium_manager.py
Expand Up @@ -118,8 +118,10 @@ def run(args: List[str]) -> dict:
logger.debug(f"Executing process: {command}")
try:
if sys.platform == "win32":
completed_proc = subprocess.run(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE, creationflags=subprocess.CREATE_NO_WINDOW)
else:
completed_proc = subprocess.run(
args, stdout=subprocess.PIPE, stderr=subprocess.PIPE, creationflags=subprocess.CREATE_NO_WINDOW
)
else:
completed_proc = subprocess.run(args, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
stdout = completed_proc.stdout.decode("utf-8").rstrip("\n")
stderr = completed_proc.stderr.decode("utf-8").rstrip("\n")
Expand Down

0 comments on commit 642c4fd

Please sign in to comment.