Finding Return Code From GPG

Nomen Nescio nobody at dizum.com
Tue Jul 4 12:20:02 EDT 2006


I'm running gpg in python to verify a signature. I can see that it is
working, because gpg is displaying the results.

But I need a way to let the python script know this. According to the gpg
manual there is a return code from gpg of 0 if the verify is good and 1 if
it is bad.

Can anyone tell me how I can get the python script to 'see' this return
code?




More information about the Python-list mailing list