[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 22:22:00 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
Bob Proulx <address@hidden> writes:
>> spawn /usr/bin/ssh address@hidden
>
> The above will then always get EOF from the here-document file which
> has already been read to the end of file.
Wrong. The spawned process is connected to the expect process via a
pty, and will read whatever the latter sends to it.
Andreas.
--
Andreas Schwab, address@hidden
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, (continued)
Re: Interactive Expect from bash Script, Bob Proulx, 2014/03/29
- Re: Interactive Expect from bash Script,
Andreas Schwab <=