PDA

View Full Version : No Longer Able To Run Two Sessions On Same Machine?



UrsaTeddy
June 10th, 2022, 07:22
Hi,

using a Mac (M1 Max Powerbook) running Monterey.

I was doing some development on one of my extensions today and wanted to test it (it deals with connecting/disconnecting users etc) and so required a second session on my machine to test it.

This did not work with a warning that a session was already active on my machine and hence it would not run.

The last time I was working on this extension (about 2 months ago I would guess) I was able to run two sessions of Fantasy Grounds for testing/debugging.

So something has obviously changed.

Just in case it matters, I use the following command line to execute a second session of FGU on my machine

open -n -a '/Applications/SmiteWorks/Fantasy Grounds/FantasyGrounds.app'

What has changed?
Is there a work around?
Is this only a Mac thing?

UrsaTeddy
June 10th, 2022, 14:33
As a follow up for others in a similar boat ...

It seems the -a parameter causes a problem. The removal of it seems to work.

So the command line is now

open -n '/Applications/SmiteWorks/Fantasy Grounds/FantasyGrounds.app'

LordEntrails
June 10th, 2022, 20:07
Don't know what the startup params do, but I have found that you can not launch the updater if you have a second session running.

UrsaTeddy
June 11th, 2022, 00:55
Originally the open command took -n for opening a new thread / second instance and -a for application and its path.

However removing the -a worked for me for some reason although the man page indicates that -a is still valid.

As for the updater, I never tried running the updater, just simply a Join Game on the local network.