Launch firefox in '-no-remote' mode so other firefox profiles can run at the same time

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35121 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3c2313e5
......@@ -249,7 +249,8 @@ user_pref("capability.principal.codebase.p1.subjectName", "");""" % \
if self.run_only:
url_string = url_string.replace('/portal_tests/', '/portal_tests/%s/' % self.run_only, 1)
pid = os.spawnlp(os.P_NOWAIT, "firefox", "firefox", "-profile", self.profile_dir,
pid = os.spawnlp(os.P_NOWAIT, "firefox", "firefox",
"-no-remote", "-profile", self.profile_dir,
url_string)
os.environ['MOZ_NO_REMOTE'] = '0'
print 'firefox : %d' % pid
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment