Re: read/write to command line opened as a file

2015-04-20 Thread Shlomi Fish
Hi all, On Mon, 20 Apr 2015 17:02:22 -0500 Andy Bach wrote: > On Mon, Apr 20, 2015 at 3:32 PM, Frank K. 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 c

Re: read/write to command line opened as a file

2015-04-20 Thread Andy Bach
On Mon, Apr 20, 2015 at 3:32 PM, Frank K. 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) i

read/write to command line opened as a file

2015-04-20 Thread Frank K.
Ok, I am trying to do something I initially thought would be fairly easy to do but am running into lots of trouble. I have a db2 instance running on a Windows 2k8r2 Enterprise server, using ActivePerl V5.8.. I wanted to open a file handle in read/write mode to run cmd.exe.. I then need to w