filepro and the SYSTEM command on SuSE Linux
Nancy Palmquist
npalmquist at metroreporting.com
Fri Nov 9 06:56:38 PST 2007
Any help would be appreciated with this craziness.
I need to decrypt a folder of files using gpg. After that I need to
process each file.
Here is the framework:
I am logged in as filepro - I run a filePro 5.0 dreport to read the
names of the files and do a series of processes on each file, the first
of which will decrypt the file and write it to my work folder.
I make a command string that looks like this:
gpg --passphrase-fd 0 --output
/var/appl/cccwork/test_PR1194478701017kptestmetropr05.xml --decrypt
/home/cccinfo/test_PR1194478701017kptestmetropr05.xml.pgp <
/myblessedpassph.txt
I then issue the command using SYSTEM
system noredraw pgpcmd (contents of pfpcmd is shown above)
It will not run.
To test it I write the exact string to a file: testpgp
If I leave filepro (still logged in as filepro), and run the file I
wrote from processing, that is exactly the same. It works perfectly.
Am I using a different shell language? Why won't this run from a system
command?
I am open to any ideas.
BTW - I resorted to running filePro logged in as filePro to make sure
gpg was happy with permissions. It seems to need keys on a user level.
Nancy
More information about the Filepro-list
mailing list