Version 2 of How Expect can capture the exit code from a remote command

Updated 2007-10-20 22:06:11 by claird

[ ...; echo $?; ...]

[Write example that explains use of {send "echo $?\r"}, for example.]

[can someone be a little more verbose? There is no $? variable... or echo command... in Tcl, right?]


Category Expect