Skip to content

Commit

Permalink
[py]: pass default to pop when parsing service popen_kw
Browse files Browse the repository at this point in the history
  • Loading branch information
symonk committed Mar 16, 2023
1 parent fa001eb commit e8953ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion py/selenium/webdriver/common/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def _start_process(self, path: str) -> None:
"""
cmd = [path]
cmd.extend(self.command_line_args())
close_file_descriptors = self.popen_kw.pop("close_fds") or system() != "Windows"
close_file_descriptors = self.popen_kw.pop("close_fds", None) or system() != "Windows"
try:
self.process = subprocess.Popen(
cmd,
Expand Down

0 comments on commit e8953ce

Please sign in to comment.