Re: Disabling the timeout in Expect
- From: lrhorer <lrhorer@xxxxxxxxxxx>
- Date: Mon, 02 Nov 2009 01:53:53 -0600
Mike Ayers wrote:
am writing a script which may need to sit and wait for many hours orcheck out
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@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact
listmaster@xxxxxxxxxxxxxxxx
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
Thanks. That link came up in Google every time I did a search, but I
could never get it to go beyond the first page. I'm not sure why.
seem to work. The script still was bombing after a few seconds. ForFrom a vague memory, I did try setting the timeout to -1, but it didn't
reasons not related to this issue, I have abandoned Expect for this
project. I may come back to it just out of curiosity to find why and
how it was failing.
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- References:
- Disabling the timeout in Expect
- From: lrhorer
- Re: Disabling the timeout in Expect
- From: Mike Ayers
- Disabling the timeout in Expect
- Prev by Date: Re: Recommended Linux Backup
- Next by Date: Re: No "Shut Down..." option in "System" menu
- Previous by thread: Re: Disabling the timeout in Expect
- Next by thread: Re: [mutt] label mails with colored tags
- Index(es):
Relevant Pages
|