Skip to content

Commit d1f4f50

Browse files
Melroy van den Berglmtierney
authored andcommitted
[py] Define stdin for service subprocess (#4503)
1 parent bd3e7a7 commit d1f4f50

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

py/selenium/webdriver/common/service.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,9 @@ def start(self):
7171
cmd.extend(self.command_line_args())
7272
self.process = subprocess.Popen(cmd, env=self.env,
7373
close_fds=platform.system() != 'Windows',
74-
stdout=self.log_file, stderr=self.log_file)
74+
stdout=self.log_file,
75+
stderr=self.log_file,
76+
stdin=PIPE)
7577
except TypeError:
7678
raise
7779
except OSError as err:

0 commit comments

Comments
 (0)