> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 25, 2002 8:52 AM
> To: [EMAIL PROTECTED]
> Subject: Programming pipes to and from another program
> 
> ...
> Is there a simple (or even complex) way to open a two way 
> pipe to another
> program with Perl.  

Start with 

   perldoc -q 'pipe both'

Which leads you to

   perldoc perlipc
   (search for "Bidirectional Communication with Another Process")

> (I don't want to use Expect or any other scripting
> language if I can help it).

Depending on the program you're trying to control, you may not have a
choice. Some programs require that stdin/out be a tty. Perl's Expect module
is easy to use.

> I'm trying to implement batch code for automating processes 
> over night.
> Some of these require a dialog.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to