--- On Thu, 4/23/09, Werner Koch <w...@gnupg.org> wrote:

> 
> There is and has always been a nul device in Windows, it is
> just named
> "/dev/nul" and not "/dev/null". 
> However on the windows command line you
> better use just "nul" as the device - that is a
> special filename.
> 

See, and this is exactly the reason why there should be an option to gnupg like 
--notty with --nostdin to make a generic for every platform - the caller does 
not really need to know about these OS specifics. He is using "--batch" as the 
name implies - it should be done automatically always - now i have to make a 
workaround because

a) GNUPG does not inform the caller via status-fd that its a detached signature 
and halts the processing
b) GNUPG needs "--batch" on "some" occasions to be really "batch mode" 
compatbile (this is undocumented and should be a flag)
c) Since i do not know in advance if it is an encrypted or detached signature 
file (no status output) - i may need to pipe the passphrase too - but with 
stdin to dev/null - i cant anymore




      

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

Reply via email to