Libcurl (was Re: [Announce] GnuPG 1.4.1 released)

David Shaw dshaw at jabberwocky.com
Tue Mar 22 15:06:27 CET 2005


On Tue, Mar 22, 2005 at 10:16:19AM +0100, Carlo Luciano Bianco wrote:
> Il /22 mar 2005/, *David Shaw* ha scritto:
> 
> > On Tue, Mar 22, 2005 at 12:18:03AM +0100, Carlo Luciano Bianco wrote:
> >> Il /21 mar 2005/, *David Shaw* ha scritto:
> >> 
> >> > On Sun, Mar 20, 2005 at 04:18:35PM +0100, Carlo Luciano Bianco wrote:
> >> > 
> >> >> 1) It seems that, when running a subprocess like a gpgkeys_*.exe,
> >> >> gpg.exe does not pass it the environment variables. Most notably, it
> >> >> does not pass the system %PATH%. Both gpg.exe and gpgkeys_*.exe
> [...]
> > Interesting.  Some difference between POSIX style $PATH and W32 style
> > %PATH% maybe?  Now that I think about it, GPG on MinGW is going to end
> > up appending ':c:\\programmi\gnupg" to your PATH.  That may well
> > result in a problem since W32 wants ';c:\\programmi\gnupg' (with a
> > leading semicolon).
> 
> This can be a problem, yes, but it would affect only the last two folders of 
> the path (the ones with ":" instead of ";"). Are you sure the gnupg path is 
> not added as the first one followed by ":"?

Yes.  If there is a path to add, it's always appended.  However, try
setting your --exec-path directly to the path you want.  That replaces
the current path completely.  So:

  exec-path c:\\whatever;c:\\programmi\gnupg

David



More information about the Gnupg-users mailing list