Win3: redirect.c ?

John Ralls jralls at
Tue May 6 22:31:37 EDT 2014

On May 6, 2014, at 3:54 PM, Geert Janssens <janssens-geert at> wrote:

> There is a source file redirect.c in packaging/win32 together with a 
> Makefile to compile this into a program called redirect.
> But I can't find this program in use anywhere. Can anyone remember why 
> this little program is in there and is it still needed/used in some way 
> ?

>From the following in ChangeLog.2007:
> 2007-07-08 13:12  andi5
>         * [r16277] packaging/win32/ Use redirect.exe for
>           gconfd-2.exe (#450052) and qt3-wizard.exe (#452382). Move the
>           original executables to bin\, use renamed copies of redirect.exe
>           at the old locations.
> 2007-07-08 13:08  andi5
>         * [r16276] packaging/win32/,
>           packaging/win32/redirect.c: Add win32/redirect.c, a tool
>           spawning itself in a parent bin\ directory. This program, called
>           as "prog.exe (arg)*", will search for .\bin\prog.exe,
>           ..\bin\prog.exe and so on. The first hit will be spawned with
>           the same parameters and its exit status will be the exit status
>           of this program.

It appears it was needed to launch the Qt-based AQBanking Wizard. We replaced that in 2.4.0 with a Gtk wizard (thanks to some hard work by Martin and Christian), so it's no longer required. Nuke it.

John Ralls

More information about the gnucash-devel mailing list