From c25cc3aa4035d7c302ad799f745eca253f2e1988 Mon Sep 17 00:00:00 2001 From: Amaury Hernandez-Aguila Date: Thu, 18 Aug 2022 07:04:23 -0700 Subject: [PATCH] Using `open` for opening browser on macOS. --- src/firefox/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/firefox/index.ts b/src/firefox/index.ts index 66cf57d..89de777 100644 --- a/src/firefox/index.ts +++ b/src/firefox/index.ts @@ -191,7 +191,7 @@ class Firefox { '.point/keystore/liveprofile' ); - const cmd = global.platform.darwin ? `${binFile}/Contents/MacOS/firefox` : binFile; + const cmd = global.platform.darwin ? `open -W ${binFile}/Contents/MacOS/firefox` : binFile; this.logger.info('Launching'); const proc = spawn( cmd,