in reply to Re: IPC::Open2 Help.
in thread IPC::Open2 Help.
I have been able to get it to work if Im either just reading or just writing to pgp by opening it with a pipe. The problem is I want to do this without a temporary file.
The -f option as explained in the pgp documentation is used for UNIX-style filter mode to read from standard input and write to standard output. So I would think that you should be able to get this to work, and Im just doing something wrong.
Looking to see how the modules work, I noticed that they are just do what Im trying to do. For example, looking at the module PGP::Pipe.pm I see that it is using the basic same method: $result = open3 ($fin, $fout, $ferr, "$self->{PGPexec} $baseopts $args") || croack "PGP command error"; So the error is in my code somewhere. I think Ill try to figure out how this module is doing stuff.
Thanks.
zzSPECTREz
|
|---|