OK try this instead. In your shell do:
/Applications/GnuCash/Contents/MacOS/GnuCash
path_to_your_data_file_here.gnucash
That should still work for multiple instances too. I just opened up my
Alfred scripts and realized that’s actually how I’m doing it now too
(I’m on Mojave as well). That will hold your terminal open while it
runs, btw. If you want to detach it from the terminal, just end it with
an ampersand. Like so:
/Applications/GnuCash/Contents/MacOS/GnuCash
path_to_your_data_file_here.gnucash &
That will detach the Gnucash process and give the command prompt back
right away.
On 24 Apr 2020, at 13:39, John Morris wrote:
It would be very nice to be able to open two sets of books at the same
time. Unfortunately, this procedure does not work on Mojave. When I
issue this command in Terminal, GnuCash still tries to open the last
opened file, which is, of course, still open as the first of the two
documents I want opened. Yes, I did remember to change
“your_data_file.gnucash” to the name of the second set of books I
want open.
On Fri, Apr 24, 2020 at 10:15 AM Robert Kesterson
<[email protected]>
wrote:
On MacOS, to run two instances simultaneously, open the first one in
the
usual way, then for the second, open a shell and type:
open -n /Applications/Gnucash.App your_data_file.gnucash
That assumes Gnucash is in the Applications folder. Change
“your_data_file.gnucash” to the real path to the data file you
want
to open in the second instance. If you don’t specify that, it
will
try to open the last open file, which is already open in the first
instance. That will give you an error about the file being locked,
which you have to cancel and then load the file you wanted for the
second instance instead. Giving the filename on the command line
avoids
that problem.
You can also make a script to do this so you don’t have to drop to
the
shell every time. I set up quick launch workflows in Alfred for
mine so
it just takes couple of keystrokes to launch whatever set of books I
need, and they can all be open at once.
_______________________________________________
gnucash-user mailing list
[email protected]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.
_______________________________________________
gnucash-user mailing list
[email protected]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
If you are using Nabble or Gmane, please see
https://wiki.gnucash.org/wiki/Mailing_Lists for more information.
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.