Skip to content

Commit 8b25a45

Browse files
committed
[py]: Default close_fds to true on non windows OS
1 parent e8953ce commit 8b25a45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py/selenium/webdriver/common/service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ def _start_process(self, path: str) -> None:
198198
"""
199199
cmd = [path]
200200
cmd.extend(self.command_line_args())
201-
close_file_descriptors = self.popen_kw.pop("close_fds", None) or system() != "Windows"
201+
close_file_descriptors = self.popen_kw.pop("close_fds", system() != "Windows")
202202
try:
203203
self.process = subprocess.Popen(
204204
cmd,

0 commit comments

Comments
 (0)