Is it possible with Expect to run a command first when an expected phrase is
outputted by a spawned program?
Thanks a lot.
expect \
$myphrase1 {
set suplemental [ phrase1command $expect_out(0,string) x y z ]
} $myphrase2 {
set suplemental [ phrase2command �expect_out(0,string) a b c d ]
}
uwe