only supply a -foreground argument on Mac.
This commit is contained in:
parent
42b6d23bda
commit
51fcd5fb3c
@ -159,7 +159,10 @@ class BrowserCommand():
|
|||||||
shutil.rmtree(self.tempDir)
|
shutil.rmtree(self.tempDir)
|
||||||
|
|
||||||
def start(self, url):
|
def start(self, url):
|
||||||
cmds = [self.path, "-foreground", "-no-remote", "-profile", self.profileDir, url]
|
cmds = [self.path]
|
||||||
|
if platform.system() == "Darwin":
|
||||||
|
cmds.append("-foreground")
|
||||||
|
cmds.extend(["-no-remote", "-profile", self.profileDir, url])
|
||||||
subprocess.call(cmds)
|
subprocess.call(cmds)
|
||||||
|
|
||||||
def makeBrowserCommands(browserManifestFile):
|
def makeBrowserCommands(browserManifestFile):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user