From 6ef8e099906a94870acb98f3c2388f3cf0c11664 Mon Sep 17 00:00:00 2001 From: benji Date: Sat, 21 Feb 2026 00:02:22 +0100 Subject: [PATCH] allow using open again --- emrun.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emrun.py b/emrun.py index af3dda6dbd27a..b6d9304a90f0d 100644 --- a/emrun.py +++ b/emrun.py @@ -1739,7 +1739,7 @@ def run(args): # noqa: C901, PLR0912, PLR0915 browser_exe = browser[0] browser_args = shlex.split(unwrap(options.browser_args)) - if MACOS and ('safari' in browser_exe.lower() or browser_exe == 'open'): + if MACOS and 'safari' in browser_exe.lower(): # Safari has a bug that a command line 'Safari http://page.com' does # not launch that page, but instead launches 'file:///http://page.com'. # To remedy this, must use the open -a command to run Safari, but