On Mon, Apr 20, 2015 at 3:32 PM, Frank K. <fklei...@gmail.com> wrote:

> Would someone suggest a solution which would allow me to “open” a
> read/write session to a command line??


perlfaq8.pod
   How can I open a pipe both to and from a command?
       The IPC::Open2 module (part of the standard perl distribution) is an
easy-to-use approach that internally uses pipe(), fork(), and exec() to do
the job.
       Make sure you read the deadlock warnings in its documentation,
though (see IPC::Open2).  See "Bidirectional Communication with Another
Process" in perlipc
       and "Bidirectional Communication with Yourself" in perlipc

       You may also use the IPC::Open3 module (part of the standard perl
distribution), but be warned that it has a different order of arguments
from IPC::Open2
       (see IPC::Open3).



-- 

a

Andy Bach,
afb...@gmail.com
608 658-1890 cell
608 261-5738 wk

Reply via email to