Hi Jean --
Getting a return val was one of the things I was stuck on, so I ordered Libes' "Exploring Expect" book. Took a week to get, but was unstuck within an hour of unwrapping it.
$ expect
expect1.1> spawn false (try also with true for good measure)
expect1.2> catch wait reason...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.