Esben Stien <b...@esben-stien.name> writes:

> The expect code works fine when executed outside the bash script,

Please define "outside the bash script".  Since you are passing the
expect script on stdin the interact command will immediately read EOF,
and expect will run into its implicit timeout.

Andreas.

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

Reply via email to