> On Mar 7, 2022, at 7:03 PM, [email protected] wrote:
>
> I also opened GnuCash in the Terminal hoping to see what happened when it
> opened. Gnucash opened, but I got no output using command:
>
> open -a Gnucash.app
>
> Is there something else I need to add to this command to get terminal output
> when opening Gnucash from Terminal?
>
Using the `open` command in Terminal is the same as double-clicking its icon in
Finder: It tells Launch Services to start GnuCash either with no stdin, stdout,
or stderr or with stdout and stderr connected to Console.app depending on macOS
version. To have a stdin, stdout, and stderr connection to the shell running in
Terminal you must run GnuCash directly; if you installed it in /Applicattions
you'd use
/Applications/Gnucash.app/Contents/MacOS/Gnucash
By default GnuCash writes its log to a file named gnucash.trace. This is most
easily accessed using an environment variable $TMPDIR, so you could use
less $TMPDIR/gnucash.trace
to read it. On macOS and other unix platforms it is overwritten with every
launch of GnuCash. You can read more about it at
https://wiki.gnucash.org/wiki/Tracefile
<https://wiki.gnucash.org/wiki/Tracefile>.
To get GnuCash to write to the terminal, pass --logto=stderr on the terminal
command above. More information about how to configure logging may be found at
https://wiki.gnucash.org/wiki/Logging <https://wiki.gnucash.org/wiki/Logging>.
Regards,
John Ralls
_______________________________________________
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.