Subject Re: [firebird-support] OT: Redirecting GBAK output to the standard output
Author Gary Marshall
> > I am using -V but the messages are not being written to STDOUT. If they
> > were, I could pipe them into a file or (in this case) capture them and
> > display them in Delphi, and I can not do this. Any attempt to use
piping
> > still results in the messages being displayed onscreen.
>
> Ah, I see. No, gbak doesn't go to STDOUT. There is a fix in the code which
> remedies this for the next maintenance release of Fb1.0. (Don't ask me
when
> the next maintenance release is due - Autumn, I guess.)
>
> You can use the -y option to write the log to a file. The trick there is
to
> make sure that the file doesn't exist.

Or use the Win32 GetTempFileName() call to get a temporary file name that
you can use.

G