Home | History | Annotate | Download | only in pexpect-2.4

Lines Matching refs:TIMEOUT

73     def __init__ (self, timeout=30, maxread=2000, searchwindowsize=None, logfile=None, cwd=None, env=None):
74 spawn.__init__(self, None, timeout=timeout, maxread=maxread, searchwindowsize=searchwindowsize, logfile=logfile, cwd=cwd, env=env)
136 self.read_nonblocking(size=10000,timeout=1) # GAS: Clear out the cache before getting the prompt
137 except TIMEOUT:
142 x = self.read_nonblocking(size=1000,timeout=1)
146 a = self.read_nonblocking(size=1000,timeout=1)
150 b = self.read_nonblocking(size=1000,timeout=1)
173 a timeout when looking for the prompt we assume that the original
196 i = self.expect(["(?i)are you sure you want to continue connecting", original_prompt, "(?i)(?:password)|(?:passphrase for key)", "(?i)permission denied", "(?i)terminal type", TIMEOUT, "(?i)connection closed by remote host"], timeout=login_timeout)
204 i = self.expect(["(?i)are you sure you want to continue connecting", original_prompt, "(?i)(?:password)|(?:passphrase for key)", "(?i)permission denied", "(?i)terminal type", TIMEOUT])
207 i = self.expect(["(?i)are you sure you want to continue connecting", original_prompt, "(?i)(?:password)|(?:passphrase for key)", "(?i)permission denied", "(?i)terminal type", TIMEOUT])
210 i = self.expect(["(?i)are you sure you want to continue connecting", original_prompt, "(?i)(?:password)|(?:passphrase for key)", "(?i)permission denied", "(?i)terminal type", TIMEOUT])
233 elif i==5: # Timeout
270 def prompt (self, timeout=20):
274 matched. This returns False if there was a timeout. Note that if you
279 i = self.expect([self.PROMPT, TIMEOUT], timeout=timeout)
303 i = self.expect ([TIMEOUT, self.PROMPT], timeout=10)
306 i = self.expect ([TIMEOUT, self.PROMPT], timeout=10)