Clint,
Look at the documentation for IPC::Open2 and IPC::Open3
both do what you want. IPC::Open2 will not capture STDERR,
IPC::Open3 will.
John
On Mon, May 22, 2000 at 11:08:13AM -0500, Clint Mahoney wrote:
> Is there a way to open a process as a filehandle that captures
> STDOUT and lets you send STDIN at the same time? I know how to do both
> separately.
> I need to send data to a command at the command line that answers
> two prompts. I guess I don't really need to analyze what's coming back
> from the command but I definitely need to be able to send two pieces of
> data in answer to the two prompts. Surely there's some way.
> Thanks in advance - everyone on this mailing list is so helpful!
>
> -Clint
>
>
> ---
> You are currently subscribed to perl-win32-users as: [EMAIL PROTECTED]
> To unsubscribe, forward this message to
> [EMAIL PROTECTED]
> For non-automated Mailing List support, send email to
> [EMAIL PROTECTED]
>
---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
[EMAIL PROTECTED]
For non-automated Mailing List support, send email to
[EMAIL PROTECTED]