filepro and the SYSTEM command on SuSE Linux
Jay R. Ashworth
jra at baylink.com
Fri Nov 9 08:25:23 PST 2007
On Fri, Nov 09, 2007 at 11:20:55AM -0500, Fairlight wrote:
> Yo, homey, in case you don' be listenin', Jay Ashworth done said:
> > On Fri, Nov 09, 2007 at 09:56:38AM -0500, Nancy Palmquist wrote:
> > > 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
> >
> > 2) GPG purposefully won't accept a redirected passphrase, reading it
> > from the terminal rather than standard input?
>
> That's going to be the culprit. Nevermind the redirect--it may be entirely
> discarded. The problem is that it's probably hanging waiting for data on
> STDIN, and it's never going to get any with the command above.
I believe you mean "waiting for data from the terminal", right?
That is: it's fopening /dev/tty.
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