filepro and the SYSTEM command on SuSE Linux

Jay R. Ashworth jra at baylink.com
Fri Nov 9 08:12:04 PST 2007


On Fri, Nov 09, 2007 at 09:56:38AM -0500, Nancy Palmquist wrote:
> 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.

My two snap responses are 

1) GPG isn't in the path inherited by filepro, as modified by filepro
itself (Ken: does SYSTEM prune PATH?)

2) GPG purposefully won't accept a redirected passphrase, reading it
from the terminal rather than standard input?

Cheers,
-- jra
-- 
Jay R. Ashworth                   Baylink                      jra at baylink.com
Designer                     The Things I Think                       RFC 2100
Ashworth & Associates     http://baylink.pitas.com                     '87 e24
St Petersburg FL USA      http://photo.imageinc.us             +1 727 647 1274


More information about the Filepro-list mailing list