On 2005-03-16 17:28:02 +0100, Thomas Zangl - Home wrote:

> Am Wed, 16 Mar 2005 15:49:27 +0100, schrieb "Sascha Kiefer"
> <[EMAIL PROTECTED]>:
>
> > you can use the photo-viewer option. example:
> >
> > - --photo-viewer \"cmd /c copy /Y \"%i\"filename.tmp\"\"
> >
> > will copy the picture-file to filename.tmp
>
> Does work from the command line but not from within my Delphi App.
> It seems that "cmd" is not called at all - maybe because GPG is
> called from within a temporary batchfile which is executed through
> "CreateProcess"...

You might have been bitten by the escaping. This example works on the
command line because the shell evaluates the command line args before
passing them to gpg. If you call gpg in a way that don't pass the args
through a shell, you should not be escaping quotes.

-- 
Karl Hasselström, [EMAIL PROTECTED]
      www.treskal.com/kalle

_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to