[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Interactive Expect from bash Script
From: |
Andreas Schwab |
Subject: |
Re: Interactive Expect from bash Script |
Date: |
Sat, 29 Mar 2014 21:07:50 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Esben Stien <b0ef@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, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
Re: Interactive Expect from bash Script, Bob Proulx, 2014/03/29