Hello,
I would like to spawn an xterm and then send messages to it.
....
....
$pid=Expect->spawn("/usr/bin/xterm");
# now send message to xterm
print $pid "Hello from parent";
....
I get an xterm window with a shell prompt in it.
But i don't see my message in it.
Is there a way to do that ?
Thanks.
Pierre Bachelart.
PS: I am using Expect-1.15 & Debian Woody
|