> -----Original Message----- > From: Chris Knipe [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 17, 2002 4:19 PM > To: [EMAIL PROTECTED] > Subject: Re: executing binaries > > > I had a look.... > > The documentation is *very* lacking..... > > savage@netsonic:~/src# perl -MIPC::Open2 -e'open2($rd, $wr, > "ls -al"); while > (<$rd>) { print; } exit;' > open2: wtr should not be null at -e line 1
FWIW, This example worked fine for me. I did not get the error. I have zilch experience with IPC::Open2, so can't help further. I have sucessfully used Expect.pm for handling more complex interactions with applications... -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]