only supply a -foreground argument on Mac.

This commit is contained in:
Rob Sayre 2011-06-23 15:47:25 -07:00
parent f212637433
commit ebb75998a2

View File

@ -159,7 +159,10 @@ class BrowserCommand():
shutil.rmtree(self.tempDir)
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)
def makeBrowserCommands(browserManifestFile):