|
From: Austin S. <te...@of...> - 2002-02-28 21:44:33
|
On Thu, Feb 28, 2002 at 06:04:04PM +0100, Kilian A. Foth wrote:
>
> I'm trying to fool a proprietary program into thinking it is talking
> to a terminal when it is really talking to another program. Here is a
> minimal version to show my problem:
>
> our $pid = Expect->spawn("cat") or die "Couldn't spawn, $!";
I guess I don't understand what you expect to accomplish by this.
By spawning cat you are.. well.. catenating from STDIN to STDOUT. If you want
to interact with a program then why not spawn the program?
Austin
|