Subject RE: [firebird-support] OT: Redirecting GBAK output to the standard output
Author Noel Cosgrave
OT? How can this thread be OT? The fact that I am wanting to capture the message output of GBAK in Delphi is irrelevant! I could be wanting to pipe it to a file, which is a topic that is more appropriate to the support list than any other.

Anyway, my thanks to all who have responded. I have managed to capture the STDERR output in Delphi.

Noel


-----Original Message-----
From: Gary Marshall [mailto:gary@...]
Sent: 04 August 2003 14:00
To: firebird-support@yahoogroups.com
Subject: Re: [firebird-support] OT: Redirecting GBAK output to the
standard output


> > 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



To unsubscribe from this group, send an email to:
firebird-support-unsubscribe@yahoogroups.com



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/