Server IP : 66.235.200.170 / Your IP : 3.135.236.134 Web Server : Apache System : Linux gator4410.hostgator.com 5.14.0-162.23.1.9991722448259.nf.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 31 18:11:45 UTC 2024 x86_64 User : bmgxafte ( 1214) PHP Version : 8.2.28 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib64/python3.9/__pycache__/ |
Upload File : |
a �DOgs �@s.dZddlZGdd�d�Zdd�Zdd�ZdS) z� Basic subprocess implementation for POSIX which only uses os functions. Only implement features required by setup.py to build C extension modules when subprocess is unavailable. setup.py is not used on Windows. �Nc@seZdZddd�Zdd�ZdS)�PopenNcCs||_||_d|_dS)N)�_cmd�_env� returncode)�self�cmd�env�r �'/usr/lib64/python3.9/_bootsubprocess.py�__init__szPopen.__init__c Cs�t��}|dkrfzF|jdur6t�|jd|j|j�nt�|jd|j�Wt�d�q�t�d�0nt�|d�\}}t�|�|_ |j S)Nr�) �os�forkr�execver�execv�_exit�waitpid�waitstatus_to_exitcoder)r�pid�_�statusr r r �waits z Popen.wait)N)�__name__� __module__�__qualname__rrr r r r rs rcCs�g}dD]2\}}tt|�t|�d�D]}|�t|��q&q|�d�d�|�}t|ttf�rd|}nt|t�rv|g}ndS|D]8}t|t�s�dS|s�dS|D]}||vr�dSq�q~dS)N))�a�z)�A�Z)�0�9rz./-�FT) �range�ord�append�chr�join� isinstance�tuple�list�str)rZ safe_chars�first�lastZchZ check_strs�argr r r � _check_cmd$s( r.cKs|rtt|���t|�s&td|����d}t|t�s>d�|�}|�d|��}z�t�|�}t� |�}|rztd|�d|����z6t |d��}|��}Wd�n1s�0YWnty�d}Yn0Wzt� |�Wnty�Yn0n&zt� |�Wnt�yYn00|S) Nzunsupported command: zcheck_output.tmp� z >zCommand z returned non-zero exit status �rb�)�NotImplementedError�reprr.� ValueErrorr'r*r&r �systemr�open�read�FileNotFoundError�unlink�OSError)r�kwargsZtmp_filenamer�exitcode�fp�stdoutr r r �check_outputBs: �*�r?)�__doc__r rr.r?r r r r �<module>s