[[ ...; 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?]] echo $? is a shell command that will print the exit status of the previous shell command. ---- [Category Expect]