Bug 1850789 - Use subprocess to launch mochitest ssl server r=hneiva

Differential Revision: https://phabricator.services.mozilla.com/D187143
This commit is contained in:
Geoff Brown 2023-09-07 15:13:07 +00:00
parent 65716884ce
commit f94a0c60d5

View File

@ -779,8 +779,7 @@ class SSLTunnel:
env = test_environment(xrePath=self.xrePath, log=self.log)
env["LD_LIBRARY_PATH"] = self.xrePath
self.process = mozprocess.ProcessHandler([ssltunnel, self.configFile], env=env)
self.process.run()
self.process = subprocess.Popen([ssltunnel, self.configFile], env=env)
self.log.info("runtests.py | SSL tunnel pid: %d" % self.process.pid)
def stop(self):