in reply to Expect.pm early termination?
something is missing on line 17 of your script perhaps. Would you mind to post it? Whatever you are trying to accomplish, did that work for you on the command line with e.g. telnet or netcat? Since you login and get a prompt, I guess you are talking to some shell, but you'll tell me to make sure. Rather than a bug in Expect I expect one of the following to be happening:
What kind of protocol are you speaking with that server? You could monitor the conversation on the network level with e.g. ethereal and check whether it matches your expectations.
cheers,
--shmem
_($_=" "x(1<<5)."?\n".q·/)Oo. G°\ /
/\_¯/(q /
---------------------------- \__(m.====·.(_("always off the crowd"))."·
");sub _{s./.($e="'Itrs `mnsgdq Gdbj O`qkdq")=~y/"-y/#-z/;$e.e && print}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Expect.pm early termination?
by Elijah (Hermit) on Jul 25, 2006 at 15:07 UTC | |
by shmem (Chancellor) on Jul 25, 2006 at 16:26 UTC | |
by Elijah (Hermit) on Jul 25, 2006 at 17:24 UTC |