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

Lines Matching defs:pty

9 the standard Python pty module. The Pexpect interface focuses on ease of use so
75 import pty
378 self.STDIN_FILENO = pty.STDIN_FILENO
379 self.STDOUT_FILENO = pty.STDOUT_FILENO
380 self.STDERR_FILENO = pty.STDERR_FILENO
417 # Solaris uses internal __fork_pty(). All others use pty.fork().
487 fork/exec type of stuff for a pty. This is called by __init__. If args
528 self.pid, self.child_fd = pty.fork()
530 raise ExceptionPexpect('Error! pty.fork() failed: ' + str(e))
571 should be more portable than the pty.fork() function. Specifically,
575 resolve the issue with Python's pty.fork() not supporting Solaris,
585 raise ExceptionPexpect, "Error! Could not open pty with os.openpty()."
610 more portable than the pty.fork() function. Specifically, this should
636 # Verify we can open child pty.
639 raise ExceptionPexpect, "Error! Could not open child pty, " + child_name
652 """This returns the file descriptor of the pty for the child.
1008 ###C if ((m = write(pty, *buf, p - *buf)) < 0)