| Server IP : 85.112.90.236 / Your IP : 192.168.1.26 Web Server : Apache System : Linux 85-112-90-236.cprapid.com 6.12.0-211.7.3.el10_2.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 12:46:58 EDT 2026 x86_64 User : ftechme ( 1002) PHP Version : 8.2.32 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /proc/self/root/usr/lib64/python3.12/__pycache__/ |
Upload File : |
�
�֦i� � � � d Z ddlmZ ddlZddlZddlZddlmZmZ ddlmZmZm Z g d�Z
dZdZdZ
dZd � Zd
� Zd� Zd� Zd
� Zd� Zeefd�Zeefd�Zy)zPseudo terminal utilities.� )�selectN)�close�waitpid)�setraw� tcgetattr� tcsetattr)�openpty�fork�spawn� � c � � t j � S # t t f$ r Y nw xY wt � \ } }t |� }| |fS )zdopenpty() -> (master_fd, slave_fd)
Open a pty master/slave pair, using os.openpty() if possible.)�osr �AttributeError�OSError�_open_terminal�
slave_open)� master_fd�
slave_name�slave_fds �/usr/lib64/python3.12/pty.pyr r sL � �
��z�z�|����G�$�
��
��*�,��I�z��*�%�H��h��s � �(�(c � � ddl } | j dt d�� t j � \ }}t j
|� }t j |� ||fS # t t f$ r Y t � S w xY w)z�master_open() -> (master_fd, slave_name)
Open a pty master and return the fd, and the filename of the slave end.
Deprecated, use openpty() instead.r N�Use pty.openpty() instead.r
��
stacklevel)
�warnings�warn�DeprecationWarningr r �ttynamer r r r )r r r r s r �master_openr &