Skip to content

Commit

Permalink
[py] Define stdin for service subprocess (#4503)
Browse files Browse the repository at this point in the history
  • Loading branch information
Melroy van den Berg authored and lmtierney committed Dec 6, 2017
1 parent bd3e7a7 commit d1f4f50
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion py/selenium/webdriver/common/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ def start(self):
cmd.extend(self.command_line_args())
self.process = subprocess.Popen(cmd, env=self.env,
close_fds=platform.system() != 'Windows',
stdout=self.log_file, stderr=self.log_file)
stdout=self.log_file,
stderr=self.log_file,
stdin=PIPE)
except TypeError:
raise
except OSError as err:
Expand Down

0 comments on commit d1f4f50

Please sign in to comment.