You've already forked SeleniumHQ.selenium.py
[py]: use self.process
and self.path
correctly in the base service class
NOKEYCHECK=True GitOrigin-RevId: 118f449a177bd74cb9371131b51fa2a7f86ee133
This commit is contained in:
@@ -90,7 +90,7 @@ class Service(ABC):
|
||||
try:
|
||||
cmd = [self.path]
|
||||
cmd.extend(self.command_line_args())
|
||||
child_process = self.process = subprocess.Popen(
|
||||
self.process = subprocess.Popen(
|
||||
cmd,
|
||||
env=self.env,
|
||||
close_fds=system() != "Windows",
|
||||
@@ -99,7 +99,7 @@ class Service(ABC):
|
||||
stdin=PIPE,
|
||||
creationflags=self.creation_flags,
|
||||
)
|
||||
log.debug(f"Started executable: `{self.process}` in a child process with pid: {child_process.pid}")
|
||||
log.debug(f"Started executable: `{self.path}` in a child process with pid: {self.process.pid}")
|
||||
except TypeError:
|
||||
raise
|
||||
except OSError as err:
|
||||
|
Reference in New Issue
Block a user