I use an Input Data tool to read a text file containing a list of files that are pgp encyrpted. The list contains the full path for each file. My GPG command is of the form "gpg -o [OutputFile] --batch (additional options) -d [SourceFile]. The GPG command works correctly if I type it into a Command Line prompt. When attempting to run the exact same command (including file paths) using Alteryx "Run Command" tool, GPG always fails with "error code 2", which likely indicates either file not found or some other permissions issue.
I've tried putting everything (alteryx workflow, list of files, the files themselves, etc.) in my local C: directory for testing (although ultimately i need this run with network mapped drives). I've also tried Run as Administrator. Nothing i've tried has worked, which suggests (to me) that I'm looking in the wrong place.
On the off chance that someone has got a similar setup working, I'd love to know what if anything you had to do to get it working. but I'd also be grateful for anything from anyone who has used Run Command successfully.