Subject Re: RE: [firebird-support] Re: gsec and stdout on Windows 7
Author Mark Rotteveel
The problem is that redirect or piping is apparently not working on Windows 7 for a remote database.


> Hi
> On a *nix I pipe gstat,gbak, gsec out to a file
> example
> /home/firebird/scripts/
> >>/home/firebird/logs/bom.backup.`date +\%Y\%m\%d\%H\%M` log 2>&1
> nb. this is from a crontab and the date values are escaped.
> The resultant log file I monitor occassionally with "tail -f ", which just
> updates the console with each line appended to the file
> No idea of equivalent of windows, but with powershell the must be a way.
> Just not an expert with powershell.
> alex
> -----Original Message-----
> From:
> [] On Behalf Of weind@...
> Sent: 02 February 2010 14:50
> To:
> Subject: [firebird-support] Re: gsec and stdout on Windows 7
> In the meantime I found out the following 2 things:
> 1. If I call gsec with a local security database everything works as
> expected. The problem only occurs when it's a remote database. In both cases I
> used local gsec program.
> 2. If I don't redirect stdout to a file but say "gsec -display | more" I
> have the same problem: nothing is shown on the console (while it works with
> more and the local security database).
> I hope this helps to solve this problem!

Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
sicherer, schneller und einfacher!