issues with expect -send: spawn id exp4 not open
From: rashmi (nsrashmi_at_gmail.com)
Date: 03/30/05
- Previous message: Cameron Laird: "Re: Does Tk need a screen?"
- Next in thread: abhishekkabra_at_gmail.com: "Re: issues with expect -send: spawn id exp4 not open"
- Reply: abhishekkabra_at_gmail.com: "Re: issues with expect -send: spawn id exp4 not open"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 30 Mar 2005 01:53:50 -0500
I have a procedure which does logout for eg:
proc cli_logout { } {
send "quit\r"
expect "*#"
}
whenever i call this procedure in another procedure
proc validate_ntp { } {
cli_logout
}
it gives out an error mesage-----
send: spawn id exp4 not open
while executing
"send "quit\r""
(procedure "cli_logout" line 2)
invoked from within
Can u people plz help me out in using the procedures .
Thanks in advance
Rashmi
- Previous message: Cameron Laird: "Re: Does Tk need a screen?"
- Next in thread: abhishekkabra_at_gmail.com: "Re: issues with expect -send: spawn id exp4 not open"
- Reply: abhishekkabra_at_gmail.com: "Re: issues with expect -send: spawn id exp4 not open"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|