When using the command open
in the terminal, there seems to be this weird issue/behavior where if run to open a specific application (in this case Safari) where my current default browser is Chrome, the following command would open up in both Safari and my default browser.
open -a /Application/Safari.app/ https://www.google.com
Opening up a different browser, such as Firefox does not have this issue. In that case, only the specified application does run as expected.
open -a /Application/Firefox.app/ https://www.google.com
open -a Firefox https://www.google.com
Is this a bug or a desired effect?
(Tested macOS 11.4)