File: //opt/alt/python311/lib64/python3.11/__pycache__/_bootsubprocess.cpython-311.opt-1.pyc
hs
8 d Z ddlZ G d d Zd Zd 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 e Zd ZddZd ZdS )PopenNc 0 || _ || _ d | _ d S N)_cmd_env
returncode)selfcmdenvs 6/opt/alt/python311/lib64/python3.11/_bootsubprocess.py__init__zPopen.__init__ s c t j }|dk r | j ,t j | j d | j | j n%t j | j d | j t j d nJ# t j d w xY wt j |d \ }}t j | | _ | j S )Nr )
osforkr execver execv_exitwaitpidwaitstatus_to_exitcoder )r
pid_statuss r
waitz
Popen.wait s gii!88
9(IdilDItyAAAAHTYq\49555
3**IAv 7??DOs AB Br )__name__
__module____qualname__r r r r
r r s7
r r c g }dD ]W\ }}t t | t | dz D ]$}| t | %X| d d | }t | t t f r| }nt | t r| g}ndS |D ],}t |t s dS |s dS |D ]
}||vr dS -dS )N))az)AZ)09r z./- FT) rangeordappendchrjoin
isinstancetupleliststr)r
safe_charsfirstlastch
check_strsargs r
_check_cmdr8 $ s2 J; ' 'tE
CIIM22 ' 'Bc"gg&&&& 'e$$J#t}%%
C U
u #s## 55 55 B##uuu $ 4r c |rt t | t | st d| d}t | t
sd | } | d| } t j | }t j | }|rt d| d| t |d 5 }| }d d d n# 1 swxY w Y n# t $ r d}Y nw xY w t j
| n:# t $ r Y n.w xY w# t j
| w # t $ r Y w w xY wxY w|S ) Nzunsupported command: zcheck_output.tmp z >zCommand z returned non-zero exit status rbr )NotImplementedErrorreprr8
ValueErrorr. r1 r- r systemr openreadFileNotFoundErrorunlinkOSError)r kwargstmp_filenamer exitcodefpstdouts r
check_outputrJ B s
0!$v,,///c?? :888999%Lc3 hhsmm
"
"L
"
"C3,V44 : 9 9 9,49 9 : :
: lD))
#R
#
#
#
#
#
#
#
#
#
#
#
#
#
#
# FFF Il#### D Il#### D Ms 4?D) 4C1 C%C1 %C))C1 ,C)-C1 0D) 1D =D) ?D D) D
D&%D&)E+E ?E
E
EE
E)__doc__r r r8 rJ r r r
<module>rL sj
2 < r