From: Roland G. <Rol...@al...> - 2000-11-14 14:30:01
|
"Hemming, Cliff" wrote: > > So how would I specify 'EOF' in the expect statement? Simple: 'eof' is recognized as a special pattern, so you just say expect(['eof', \&callback, @callback_parms], ...); Unfortunately, EOF handling is somewhat broken, EOF is recognized and the callback activated, but the internal expect loop is not terminated and thus waits until timeout. I have a patch for this and will release a new Expect version within a few days. Hope this helps, Roland -- RGi...@cp... |