[GNC] Command Line Args

Glenn Fowler gfowler1 at outlook.com
Thu Apr 22 22:18:30 EDT 2021


I overlooked the "application options" when I skimmed over it earlier,
sorry about that. Thank you!

On Thu, Apr 22, 2021 at 7:41 PM John Ralls <jralls at ceridwen.us> wrote:

> Glenn,
>
> I know, and that's what Derek posted and what I added to the wiki page.
>
> Regards,
> John Ralls
>
> > On Apr 22, 2021, at 4:35 PM, Glenn Fowler <gfowler1 at outlook.com> wrote:
> >
> >   Hi John, I was referring to gnucash command line switches, not
> gnucash-cli command line switches as you mentioned earlier starting GnuCash
> with --extra earlier in the post.
> >
> > On Thu, Apr 22, 2021 at 6:42 PM John Ralls <jralls at ceridwen.us> wrote:
> > I've just added the current output of `gnucash --help` to
> https://wiki.gnucash.org/wiki/Logging#Command_Line_Options. It's the same
> as Derek posted.
> >
> > Regards,
> > John Ralls
> >
> >
> > > On Apr 22, 2021, at 3:25 PM, Glenn Fowler <gfowler1 at outlook.com>
> wrote:
> > >
> > > Thank you, in that case is there documentation on the command line
> switches?
> > >
> > > On Thu, Apr 22, 2021 at 6:06 PM John Ralls <jralls at ceridwen.us> wrote:
> > >
> > >
> > > > On Apr 22, 2021, at 2:30 PM, Derek Atkins <derek at ihtfp.com> wrote:
> > > >
> > > > That is very VERY odd.  It works for me.  I wonder if this is a
> Windows bug?
> > >
> > > Not odd at all, and not a bug in the sense that Microsoft did it on
> purpose [1]. Windows executables have a couple of bytes in their preambles
> that say what type they are. Console apps have stdin, stdout, and stderr
> and so they require a shell window of some sort (CMD and Powershell being
> the most common) and will open one for you if you launch them from Windows
> File Explorer. The others redirect the basic FDs to NULL and so they don't
> need a shell window. gnucash is a Windows program (no basic FDs) and
> gnucash-cli is a Console program (has basic FDs).
> > >
> > > Regards,
> > > John Ralls
> > >
> > > [1]
> https://answers.microsoft.com/en-us/ie/forum/ie11-iewindows_10/what-is-difference-between-console-application/f8bd3d4f-7c2c-4c86-a64b-41a046a38be4
> >
>
>


More information about the gnucash-user mailing list