Lines Matching refs:logfile
145 def run (command, timeout=-1, withexitstatus=False, events=None, extra_args=None, logfile=None, cwd=None, env=None):
220 child = spawn(command, maxread=2000, logfile=logfile, cwd=cwd, env=env)
222 child = spawn(command, timeout=timeout, maxread=2000, logfile=logfile, cwd=cwd, env=env)
268 def __init__(self, command, args=[], timeout=30, maxread=2000, searchwindowsize=None, logfile=None, cwd=None, env=None):
320 The logfile member turns on or off logging. All input and output will
321 be copied to the given file object. Set logfile to None to stop
322 logging. This is the default. Set logfile to sys.stdout to echo
323 everything to standard output. The logfile is flushed after each write.
329 child.logfile = fout
334 child.logfile = sys.stdout
400 self.logfile = logfile
473 s.append('logfile: ' + str(self.logfile))
841 if self.logfile is not None:
842 self.logfile.write (s)
843 self.logfile.flush()
952 if self.logfile is not None:
953 self.logfile.write (s)
954 self.logfile.flush()
1527 if self.logfile is not None:
1528 self.logfile.write (data)
1529 self.logfile.flush()
1580 raise ExceptionPexpect ('This method is no longer supported or allowed. Just assign a value to the logfile member variable.')