2020-11-12 10:44:07 UTC
I'm trying to run system.shellCommand() with GnuPG library in order to decrypt a file in the prolog of my assembly line.
Command line is pretty simple and perfectly work on shell :
gpg --pinentry-mode loopback --passphrase PASSWORD --output file.csv --decrypt file.pgp
However, when runned using SDI, no error is displayed but the exit value is always 2 which I don't get...
Tried various stuff :
- push the command line directly
- set an array with all my parameters
- put the command in the .bat file
Could you guys give me a hand ?
Thanks in advance,