I updated my macOS to Big Sur 11.0.1 and it seems that they changed the way
open command or rather launch services are acting in this version.
I have different versions/releases of my software on my machine in separate folders. Name of my .app is
some-app.app (example). If I run this app with
open some-app.app then this works perfectly fine and runs my application.
Now if I navigate my Terminal to a different folder with the same .app name and I try to use same command it is actually going to bring up the existing one already running. This is incorrect as this is 2 different instances of app.
I tried renaming one of them thinking this might have something to do with it but no luck, it still brings up already open application.
Please note that I have also checked the process COMMAND by using
ps aux and the command of the first app is clearly pointing to correct folder and correct name - which is different then the second instance that I'm trying to run.
I'm also aware of the fact that I could run my app from
Contents/MacOS folder inside the package but that is not the solution I am looking for.
Any ideas what could have changed from Catalina that this is happening?