HEX
Server: Apache
System: Linux beluga.o2switch.net 4.18.0-553.123.2.lve.el8.x86_64 #1 SMP Thu May 7 23:17:13 UTC 2026 x86_64
User: sc3naki1272 (1113)
PHP: 8.3.33
Disabled: NONE
Upload Files
File: //opt/alt/python27/lib/python2.7/site-packages/ptyprocess/util.pyc
�
�i�Vc@s]yddlmZWnBek
rXddlZddlZejejBdd�ZnXdS(i����(twhichNcs�d�}tjj��r2|�|�r.�SdS|dkrYtjjdtj�}n|scdS|jtj�}t	j
dkrtj|kr�|jdtj�ntjjdd�jtj�}t
�fd�|D��r��g}qg|D]}�|^q�}n	�g}t�}xu|D]m}tjj|�}	|	|kr+|j|	�x9|D].}
tjj||
�}|||�rc|SqcWq+q+WdS(	sSGiven a command, mode, and a PATH string, return the path which
        conforms to the given mode on the PATH, or None if there is no such
        file.
    
        `mode` defaults to os.F_OK | os.X_OK. `path` defaults to the result
        of os.environ.get("PATH"), or can be overridden with a custom search
        path.
    
        cSs5tjj|�o4tj||�o4tjj|�S(N(tostpathtexiststaccesstisdir(tfntmode((s@/opt/alt/python27/lib/python2.7/site-packages/ptyprocess/util.pyt
_access_checks$tPATHtwin32itPATHEXTtc3s*|] }�j�j|j��VqdS(N(tlowertendswith(t.0text(tcmd(s@/opt/alt/python27/lib/python2.7/site-packages/ptyprocess/util.pys	<genexpr>1sN(RRtdirnametNonetenvirontgettdefpathtsplittpathseptsystplatformtcurdirtinserttanytsettnormcasetaddtjoin(RRRRtpathexttfilesRtseentdirtnormdirtthefiletname((Rs@/opt/alt/python27/lib/python2.7/site-packages/ptyprocess/util.pyRs8
	! 		


(tshutilRtImportErrorRRtF_OKtX_OKR(((s@/opt/alt/python27/lib/python2.7/site-packages/ptyprocess/util.pyt<module>s