Re: Disabling the timeout in Expect
On Sun, Nov 01, 2009 at 01:25:04AM -0600, lrhorer wrote:
>
> I've looked through my Expect manual, and browsed the web, but I cannot
> find any reference to disabling the timeout in an Expect script. I am
> writing a script which may need to sit and wait for many hours or even
> days for a response without timing out. Barring some way to disable
> the timeout, what is the maximum value which can be set for the
> timeout?
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>
check out
http://oreilly.com/catalog/expect/chapter/ch03.html
it looks like a timeout value of -1 will tell it to wait forever
hope this helps
-mike
Reply to: