Lines Matching +full:use +full:- +full:pty
1 :mod:`!pty` --- Pseudo-terminal utilities
4 .. module:: pty
6 :synopsis: Pseudo-Terminal Handling for Unix.
11 **Source code:** :source:`Lib/pty.py`
13 --------------
15 The :mod:`pty` module defines operations for handling the pseudo-terminal
21 Pseudo-terminal handling is highly platform dependent. This code is mainly
25 The :mod:`pty` module defines the following functions:
30 Fork. Connect the child's controlling terminal to a pseudo-terminal. Return
36 .. warning:: On macOS the use of this function is unsafe when mixed with using
37 higher-level system APIs, and that includes using :mod:`urllib.request`.
42 Open a new pseudo-terminal pair, using :func:`os.openpty` if possible, or
52 spawned behind the pty will eventually terminate, and when it does *spawn*
71 end-of-file (EOF) condition, and that callback will not be called after
82 .. audit-event:: pty.spawn argv pty.spawn
89 -------
94 pseudo-terminal to record all input and output of a terminal session in a
99 import pty
104 parser.add_argument('-a', dest='append', action='store_true')
105 parser.add_argument('-p', dest='use_python', action='store_true')
122 pty.spawn(shell, read)