expect: invalid spawn id (4)

Wolmarans, Brett brett.wolmarans@spirentcom.com
Mon Sep 15 18:51:00 GMT 2003


Anybody know how to resolve or work around this bug in expect: invalid spawn
id (4) the first time I try to something incredibly common such as use
expect to automate a telnet session.  I could not find any references to
this in the faq or archives, found one hit on google but no solution.

cygwin version: CYGWIN_NT-5.0 bwolmarans-98 1.5.4(0.94/3/2) 2003-09-12 23:08
i686 unknown unknown Cygwin
expect version: 8.4.1 ( output from info patchlevel command )
O/S version: w2k pro SP3

log:
bwolmarans@bwolmarans-98 ~
$ expect
expect1.1> spawn telnet 10.26.0.100
spawn telnet 10.26.0.100
1424
expect1.2> expect ogin
expect1.3> send bwolmarans\n
send: invalid spawn id (4)
    while executing
"send bwolmarans\n"
expect1.4>

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list