+
     Bi`]                       ^ RI t ^ RIt^ RIt^ RIt^ RIt^ RIt^ RIt^ RIt^ RIt^ RI	t	^ RI
t
^ RIHt ^ RIt ^ RIt. R/Ot ^ RItRt]P(                  R09  t]'       dE   ^ RIt^ R
IHtHtHtHtHtHtHtHtHtH t H!t!H"t"H#t#H$t$H%t%H&t&H't'H(t(H)t)H*t* ]PW                  . R1O4       M+]'       d   ^ RI,H-t.  ! R R4      t/M
 ! R R4      t/^ RI0t0^ RI1t1 ! R R]24      t3 ! R R]34      t4 ! R R]34      t5]'       d    ! R R4      t6 ! R R]74      t8M2]9! ]0RR4      t:];! ]1R4      '       d   ]1Px                  t=M]1P|                  t=]'       d   Rt?R t@M. t?R t@R2tAR3tBR4tCR tDR tER tFRR/R ltGR  tHRR/R! ltI ! R" R]J4      tKR#RR$R	RRR%R	/R& ltLR' tMR(RR)R/R* ltNR(RR)R/R+ ltOR, tP]P! 4       tQ];! ]R-4      tR ! R. R4      tSR#   ] d    Rt ELi ; i  ] d    R	t ELi ; i)5    N)	monotonicPopenCalledProcessErrorSubprocessErrorTimeoutExpiredCompletedProcessTF)CREATE_NEW_CONSOLECREATE_NEW_PROCESS_GROUPSTD_INPUT_HANDLESTD_OUTPUT_HANDLESTD_ERROR_HANDLESW_HIDESTARTF_USESTDHANDLESSTARTF_USESHOWWINDOWSTARTF_FORCEONFEEDBACKSTARTF_FORCEOFFFEEDBACKABOVE_NORMAL_PRIORITY_CLASSBELOW_NORMAL_PRIORITY_CLASSHIGH_PRIORITY_CLASSIDLE_PRIORITY_CLASSNORMAL_PRIORITY_CLASSREALTIME_PRIORITY_CLASSCREATE_NO_WINDOWDETACHED_PROCESSCREATE_DEFAULT_ERROR_MODECREATE_BREAKAWAY_FROM_JOBSTARTUPINFO)	fork_execc                       ] tR t^lt]P
                  t]P                  t]P                  t]P                  t]P                  t	]
P                  tRtR# )	_del_safe N)__name__
__module____qualname____firstlineno__oswaitpidwaitstatus_to_exitcode
WIFSTOPPEDWSTOPSIGWNOHANGerrnoECHILD__static_attributes__r!       !/usr/lib/python3.14/subprocess.pyr    r    l   s;    jjG%'%>%>"J{{HjjG\\Fr/   r    c                   B    ] tR t^ttRtRtRtRtRt]	P                  t
RtR# )r    Nr!   )r"   r#   r$   r%   r'   r(   r)   r*   r+   r,   r-   r.   r!   r/   r0   r    r    t   s%    G%)"JHG\\Fr/   c                       ] tR t^tRtR# )r   r!   N)r"   r#   r$   r%   r.   r!   r/   r0   r   r      s    $r/   c                   d   a  ] tR t^t o RR ltR t]R 4       t]P                  R 4       tRt	V t
R# )r   Nc                6    Wn         W n        W0n        W@n        R # N)
returncodecmdoutputstderr)selfr6   r7   r8   r9   s   &&&&&r0   __init__CalledProcessError.__init__   s    $r/   c                P   V P                   '       dF   V P                   ^ 8  d5   RV P                  : R\        P                  ! V P                   ) 4      : R2# RV P                  V P                   3,          #   \         d$    RT P                  T P                   ) 3,          u # i ; i)r   	Command 'z' died with .z)Command '%s' died with unknown signal %d.z.Command '%s' returned non-zero exit status %d.)r6   r7   signalSignals
ValueErrorr:   s   &r0   __str__CalledProcessError.__str__   s    ???t24&..$//1A"BD D DHHdooG/ / /	  4B4??"2F4 4 44s   3A7 7+B%$B%c                    V P                   # r5   r8   rC   s   &r0   stdoutCalledProcessError.stdout   s     {{r/   c                    Wn         R # r5   rG   r:   values   &&r0   rH   rI      	     r/   )r7   r8   r6   r9   NNr"   r#   r$   r%   r;   rD   propertyrH   setterr.   __classdictcell____classdict__s   @r0   r   r      s;     
/   ]] r/   c                   d   a  ] tR t^t o RR ltR t]R 4       t]P                  R 4       tRt	V t
R# )r   Nc                6    Wn         W n        W0n        W@n        R # r5   )r7   timeoutr8   r9   )r:   r7   rW   r8   r9   s   &&&&&r0   r;   TimeoutExpired.__init__   s    r/   c                @    R V P                   : RV P                  : R2# )r>   z' timed out after z seconds)r7   rW   rC   s   &r0   rD   TimeoutExpired.__str__   s    4<<) 	*r/   c                    V P                   # r5   rG   rC   s   &r0   rH   TimeoutExpired.stdout   s    {{r/   c                    Wn         R # r5   rG   rK   s   &&r0   rH   r\      rM   r/   )r7   r8   r9   rW   rN   rO   rS   s   @r0   r   r      s;     *   ]] r/   c                   H   a  ] tR t^t o R^ RRRRRRR^ RR/R ltR	 tR
tV tR# )r   dwFlags	hStdInputN
hStdOutput	hStdErrorwShowWindowlpAttributeListc               h    Wn         W n        W0n        W@n        WPn        T;'       g    R . /V n        R# )handle_listNr_   r`   ra   rb   rc   rd   )r:   r_   r`   ra   rb   rc   rd   s   &$$$$$$r0   r;   STARTUPINFO.__init__   s1    "L&N(O&N*#2#I#I}b6ID r/   c           	         V P                   P                  4       pR V9   d   \        VR ,          4      VR &   \        V P                  V P
                  V P                  V P                  V P                  VR7      # )rf   rg   )	rd   copylistr   r_   r`   ra   rb   rc   )r:   	attr_lists   & r0   rj   STARTUPINFO.copy   sf    ,,113I	)+/	-0H+I	-(t||)-*.//)-+/+;+;/8: :r/   )r_   rb   r`   ra   rd   rc   )r"   r#   r$   r%   r;   rj   r.   rR   rS   s   @r0   r   r      sH     	Ja 	J4 	JD 	J#	J12	JDH	J
	: 
	:r/   c                   T   a  ] tR t^t o Rt]P                  3R ltR tR t	]t
RtV tR# )HandleFc                L    V P                   '       g   R V n         V! V 4       R# R# )TNclosed)r:   CloseHandles   &&r0   CloseHandle.Close   s    ;;;"D! r/   c                `    V P                   '       g   R V n         \        V 4      # \        R4      h)Tzalready closed)rr   intrB   rC   s   &r0   DetachHandle.Detach   s(    ;;;"4y -..r/   c                R    R V P                   P                  \        V 4      3,          # )z%s(%d))	__class__r"   rw   rC   s   &r0   __repr__Handle.__repr__   s     t~~66D	BBBr/   rq   N)r"   r#   r$   r%   rr   _winapirs   rt   rx   r|   __del__r.   rR   rS   s   @r0   ro   ro      s*     $+$7$7 	"
	/	C r/   ro   PIPE_BUFi   PollSelectorc                      R # r5   r!   r!   r/   r0   _cleanupr   	  s    r/   c                      \         f   R # \         R,           F?  p V P                  \        P                  R7      pVf   K)   \         P	                  V 4       KA  	  R #   \
         d     KS  i ; i)NNNN
_deadstate)_active_internal_pollsysmaxsizeremoverB   )instress     r0   r   r     s]    ?AJJD%%%=CNN4(	 
 "  s   AA,+A,c                      . p \         P                  P                  pV^ 8  d    V P                  RRV,          ,           4       V # )r   -O)r   flagsoptimizeappend)argsrL   s     r0   "_optim_args_from_interpreter_flagsr   (  s9     DIIEqyC#+%&Kr/   c                     R RRRRRRRRR	R
R/p \        4       pV P                  4        FF  w  r#\        \        P                  V4      pV^ 8  g   K(  VP                  RW4,          ,           4       KH  	  \        P                  P                  '       d   VP                  R4       M\        P                  P                  '       d   VP                  R4       \        P                  P                  '       d   VP                  R4       \        P                  P                  '       d   VP                  R4       \        P                  R,          p\        \        R/ 4      p\        P                  P                  p\        P                  P                  pV^8  d   VP                  R4       MV'       d   VP                  R4       V'       d   VP                  R4       V F  pVP                  RV,           4       K  	  V'       d   VP                  R4       R F8  pW69   g   K  Wc,          p	V	RJ d   Tp
M	V: RV	: 2p
VP                  RV
34       K:  	  V# )debugddont_write_bytecodeBno_siteSverbosevbytes_warningbquietqr   z-Iz-Ez-sz-Pr   	_xoptionszerror::BytesWarningzdefault::BytesWarningdefaultz-W-XT=)r   dev)faulthandlertracemalloc
importtimefrozen_modulesshowrefcountutf8gil)r   itemsgetattrr   r   r   isolatedignore_environmentno_user_site	safe_pathwarnoptionsr   dev_moder   extend)flag_opt_mapr   flagoptr   warnoptsxoptionsr   r   rL   args              r0   _args_from_interpreter_flagsr   2  s    	 	s33
L ./D!'')	CIIt$q5KKcg& *
 yyD99'''KK99!!!KK99KK q!HsK,HII++Myy!!Hq-.	/0	"D3J  M"A?ME}!$e,KKs$A Kr/   c                     \         P                  P                  '       d   \         P                  ! 4       p V P                  P
                  p^pV P                  ;p '       d(   V P                  P
                  V8w  d   MV^,          pK;  \        P                  ! R\        V4       \         P                  P                  '       d   R# \        P                  ! 4       # )   z"'encoding' argument not specified.zutf-8)r   r   warn_default_encoding	_getframef_codeco_filenamef_backwarningswarnEncodingWarning	utf8_modelocalegetencoding)ffilename
stacklevels      r0   _text_encodingr   o  s     yy&&&MMO88''
88mamxx##x/!OJ:%z	3 yy!!##r/   rW   c                     \        V/ VB ;_uu_ 4       p VP                  V R 7      uuRRR4       #    TP                  4        h ; i  + '       g   i     R# ; i)rW   N)r   waitkill)rW   	popenargskwargsps   $*, r0   callr     sP     
		$V	$	$	66'6* 
%	$	FFH 
%	$	$s   A2AAA	c                  ~    \        V / VB pV'       d*   VP                  R 4      pVf
   V ^ ,          p\        W#4      h^ # )r   )r   getr   )r   r   retcoder7   s   *,  r0   
check_callr     s@     I((Gjj ;A,C ..r/   c           	      h   R F  pW29   g   K  \        V R24      h	  RV9   dq   VR,          ff   VP                  R4      '       gF   VP                  R4      '       g/   VP                  R4      '       g   VP                  R4      '       d   RpMR	pWBR&   \        VR \        R
V RR/VB P                  # )rH   checkz- argument not allowed, it will be overridden.inputuniversal_newlinestextencodingerrors r/   rW   T)rH   r   )rB   r   runPIPErH   )rW   r   r   kwemptys   $*,  r0   check_outputr     s    F "<t#PQRR " &VG_4 ::*++vzz&/A/AVZZPZE[E[::h''EEw	 $  t  r/   c                   Z   a  ] tR tRt o RR ltR t]! ]P                  4      t	R t
RtV tR# )r   i  Nc                6    Wn         W n        W0n        W@n        R # r5   )r   r6   rH   r9   )r:   r   r6   rH   r9   s   &&&&&r0   r;   CompletedProcess.__init__  s    	$r/   c                   R P                  V P                  4      RP                  V P                  4      .pV P                  e+   VP	                  RP                  V P                  4      4       V P
                  e+   VP	                  RP                  V P
                  4      4       RP                  \        V 4      P                  RP                  V4      4      # )z	args={!r}zreturncode={!r}zstdout={!r}zstderr={!r}z{}({})z, )	formatr   r6   rH   r   r9   typer"   join)r:   r   s   & r0   r|   CompletedProcess.__repr__  s    ""499-!((9;;;"KK,,T[[9:;;"KK,,T[[9:tDz22DIIdODDr/   c                    V P                   '       d7   \        V P                   V P                  V P                  V P                  4      hR # r5   )r6   r   r   rH   r9   rC   s   &r0   check_returncode!CompletedProcess.check_returncode  s6    ???$T__dii%)[[2 2 r/   )r   r6   r9   rH   rN   )r"   r#   r$   r%   r;   r|   classmethodtypesGenericAlias__class_getitem__r   r.   rR   rS   s   @r0   r   r     s-     E $E$6$672 2r/   r   capture_outputr   c           	         V e(   VP                  R4      e   \        R4      h\        VR&   V'       dD   VP                  R4      f   VP                  R4      e   \        R4      h\        VR&   \        VR&   \        V/ VB ;_uu_ 4       p VP	                  WR7      w  rxTP                  4       p
T'       d    T
'       d   \        YP                  YxR7      hR R R 4       \        XP                  X
XX4      #   \
         dQ   p	TP                  4        \        '       d   TP	                  4       w  T	n        T	n	        h TP                  4        h R p	?	i TP                  4        h ; i  + '       g   i     L; i)Nstdinz/stdin and input arguments may not both be used.rH   r9   z@stdout and stderr arguments may not be used with capture_output.r   r8   r9   )r   rB   r   r   communicater   r   
_mswindowsrH   r9   r   pollr   r   r   )r   r   rW   r   r   r   processrH   r9   excr   s   $$$$*,     r0   r   r      sG   < ::g*NOOw::h+vzz(/C/O 4 5 5xx			$V	$	$	$000HNF& ,,.W$Wll,2C C/ 
%2 GLL'66BB-  	LLNz *1)<)<)>&
CJ
  	LLN) 
%	$s=   
E&C7 E&8E& E&7E#AEE##E&&E6	c                    . pR p\        \        P                  V 4       EF2  p. pV'       d   VP                  R4       RV9   ;'       g    RV9   ;'       g    V'       * pV'       d   VP                  R4       V F  pVR8X  d   VP                  V4       K  VR8X  d>   VP                  R\	        V4      ,          ^,          4       . pVP                  R4       Ka  V'       d   VP                  V4       . pVP                  V4       K  	  V'       d   VP                  V4       V'       g   EK  VP                  V4       VP                  R4       EK5  	  RP                  V4      # )F 	"\z\"r   )mapr&   fsdecoder   lenr   r   )seqresult	needquoter   bs_bufcs   &     r0   list2cmdliner  F  s   < FI2;;$ MM#CZ<<TS[<<W	MM#ADya cdS[023e$ MM&)Fa  " MM&!9MM&!MM#C %F 776?r/   r   r   c          	           \        V R R \        WR7      p^ pVRR R8X  d   VRR pWC3#   \         d#   pTP                  pTP                  p Rp?L:Rp?ii ; i)T)shellr   r9   r   r   N
)r   STDOUTr   r8   r6   )r7   r   r   dataexitcodeexs   &$$   r0   getstatusoutputr    sh    *!Ct$v%-> BCyDCRy>  !yy==!s   * AAAc                *    \        WVR 7      ^,          # )r   r   )r  )r7   r   r   s   &$$r0   	getoutputr    s     3&A!DDr/   c                  b   \         '       g   \        \        R 4      '       g   R# \        P                  P	                  R4      ;p R	9   d   \        \        V 4      4      # \        P                  R
9   d   R#  \        P                  ! R4      pVP                  ^R7      p\        V4      ^8w  d   \        hV^ ,          p\        \        \        V^,          P                  R4      4      4      p\        P                  R8X  d   VR8X  d
   VR8  d   R# R#   \        \        \         3 d     R# i ; i)posix_spawnF"_PYTHON_SUBPROCESS_USE_POSIX_SPAWNTCS_GNU_LIBC_VERSION)maxsplitr?   linuxglibc)01)darwinsunos5)r      )r   hasattrr&   environr   boolrw   r   platformconfstrsplitr	  rB   tupler  AttributeErrorOSError)_envverpartslibcversions        r0   _use_posix_spawnr6    s     z]33 DE	E*TCI
||++ jj./		1	%u:?QxCq!456<<7"tw7g;M   J0  s   7BD D.-D.POSIX_SPAWN_CLOSEFROMc                   V  a  ] tR tRt o RtR6RRRRRRRRRRR	RR
R5RR5RR/	R lltR t]! ]P                  4      t
]R 4       t]P                  R 4       tR tR tR t]P$                  ]P(                  3R ltR tR tR7R ltR tR tR8R ltR9R ltR t]P>                  R 4       t ]!'       dK   R t"R t#R  t$R! t%R]&PN                  ]&PP                  ]&PR                  3R" lt*R# t+R$ t,R% t-R& t.R' t/]/t0R4t6V t7R# R( t"R) t1R* t%]23R+ lt3R]23R, lt*R- t4R. t+R/ t-R0 t5R1 t.R2 t/R3 t0R4t6V t7R# ):r   i  FNusergroupextra_groupsr   r   r   umaskpipesizeprocess_groupc       	           \         '       g,   \        \        P                  \        P
                   R 24      h\        4        \        P                  ! 4       V n	        RV n
        RV n        Vf   R!p\        V\        4      '       g   \        R4      hV\        J d   \!        R4      hVf   R!p\        V\        4      '       g   \        R4      h\"        '       d   Ve   \!        R4      hMNV'       d&   V'       g   \$        P&                  ! R\(        4       RpVe   \!        R	4      hV^ 8w  d   \!        R
4      hWn        RV n        RV n        RV n        RV n        RV n        VV n        VV n        VV n        Ve)   Ve%   \=        V4      \=        V4      8w  d   \?        R4      hT;'       g    T;'       g    T;'       g    TV n         V P@                  '       d   Vf   \C        4       ;V n        pRV n"        RV n#        V P@                  '       d   V^8X  d   RpR!pMRpVf   R!pRpVe   \I        \J        R4      '       g   \!        R4      h\        V\L        4      '       d"    ^ RI'pTPS                  T4      PT                  pM<\        V\        4      '       d   TpM#\        RPW                  \Y        V4      4      4      hV^ 8  d   \!        RV 24      hRpVe   \I        \J        R4      '       g   \!        R4      h\        V\L        4      '       d   \!        R4      h. pV F  p\        V\L        4      '       d2    ^ RI'pTP[                  TPS                  T4      PT                  4       KJ  \        V\        4      '       d   VP[                  V4       Ks  \        RPW                  \Y        V4      4      4      h	  V F  p V ^ 8  g   K  \!        RV  24      h	  Rp!Ve   \I        \J        R4      '       g   \!        R4      h\        V\L        4      '       d"    ^ RI.p"T"P_                  T4      P`                  p!M$\        V\        4      '       d   Tp!M\        R4      hV!^ 8  d   \!        RV! 24      hV Pc                  WEV4      w  p#p$p%p&p'p(\"        '       d   V$R!8w  d&   \d        Pf                  ! V$Pi                  4       ^ 4      p$V%R!8w  d&   \d        Pf                  ! V%Pi                  4       ^ 4      p%V'R!8w  d&   \d        Pf                  ! V'Pi                  4       ^ 4      p' V$R!8w  dZ   \j        Pl                  ! V$RV4      V n        V P@                  '       d+   \j        Pn                  ! V P,                  RXVVR7      V n        V%R!8w  dX   \j        Pl                  ! V%RV4      V n        V P@                  '       d)   \j        Pn                  ! V P.                  VVR7      V n        V'R!8w  dX   \j        Pl                  ! V'RV4      V n        V P@                  '       d)   \j        Pn                  ! V P0                  VVR7      V n        V Pq                  WWxVWWV	V#V$V%V&V'V(VVVV!VVV4       R#   \P         d    \!        R4      hi ; i  \P         d    \!        R4      hi ; i  \P         d    \!        R4      hi ; i   \s        RT P,                  T P.                  T P0                  34       F&  p) T)Pu                  4        K    \         d     K$  i ; i	  T PF                  '       g   . p*T\v        8X  d   T*P[                  T#4       T\v        8X  d   T*P[                  T&4       T\v        8X  d   T*P[                  T(4       \I        T R 4      '       d   T*P[                  T Px                  4       T* F`  p+ \"        '       d)   \        T+\z        4      '       d   T+P}                  4        K8  \J        Pt                  ! T+4       KP    \         d     K^  i ; i	  h ; i)"z does not support processes.NFzbufsize must be an integerz"STDOUT can only be used for stderrzpipesize must be an integerz0preexec_fn is not supported on Windows platformszpass_fds overriding close_fds.Tz2startupinfo is only supported on Windows platformsz4creationflags is only supported on Windows platformszlCannot disambiguate when both text and universal_newlines are supplied but different. Pass one or the other.g      ?setregidz>The 'group' parameter is not supported on the current platformzHThe group parameter cannot be a string on systems without the grp modulez,Group must be a string or an integer, not {}z!Group ID cannot be negative, got 	setgroupszEThe 'extra_groups' parameter is not supported on the current platformz#Groups must be a list, not a stringzIItems in extra_groups cannot be strings on systems without the grp modulez9Items in extra_groups must be a string or integer, not {}setreuidz=The 'user' parameter is not supported on the current platformzGThe user parameter cannot be a string on systems without the pwd modulez#User must be a string or an integerz User ID cannot be negative, got wb)write_throughline_bufferingr   r   rbr  _devnullr  )?_can_fork_execr0  r,   ENOTSUPr   r+  r   	threadingLock_waitpid_lock_input_communication_started
isinstancerw   	TypeErrorr  rB   r   r   r   RuntimeWarningr   r   rH   r9   pidr6   r   r   r=  r*  r   	text_moder   _sigint_wait_secs_closed_child_pipe_fdsr(  r&   strgrpImportErrorgetgrnamgr_gidr   r   r   pwdgetpwnampw_uid_get_handlesmsvcrtopen_osfhandlerx   ioopenTextIOWrapper_execute_childfiltercloser   rG  ro   rt   ),r:   r   bufsize
executabler   rH   r9   
preexec_fn	close_fdsr  cwdenvr   startupinfocreationflagsrestore_signalsstart_new_sessionpass_fdsr9  r:  r;  r   r   r   r<  r=  r>  rE  gidrW  gidsextra_group	gid_checkuidr[  p2creadp2cwritec2preadc2pwriteerrreaderrwriter   to_closefds,   &&&&&&&&&&&&&&&&&&$$$$$$$$$                 r0   r;   Popen.__init__0  s:    ~#,,/KL  	
 '^^-&+#?G'3''899VABBH(C((9:::%  "- . . &
 	>O 	&  "- . .!  "- . . 	
   !3!?'(DJ6! #F G G "IIVIItII7I>>>h.'5'77DMH
 "&&+#>>>!|!% !& M2z**  "4 5 5 E3''J
 ll5)00E3'' N!'U!46 6 Qw #DSE!JKK#2{++  "E F F L#.. !FGGD+k3//7" KK[ 9 @ @AS11KK,# %9%+VD,=%>@ @  ,& "	q=$'H%TUU " 2z**  "8 9 9 D#&&J ll4(//D#&& EFFQw #CC5!IJJ& #//vF	(	(	( :2~!001BAF"} //0@!D"} //0@!D6	2~WWXtW=
>>>!#!1!1$**D+9%-f">DJ "} gggtW=>>>"$"2"24;;%-f#>DK"} gggtW=>>>"$"2"24;;%-f#>DK * (# +E ' ' ' / #T3 1=Bo # J$ &I J JJ8 ' 7( *6 7 778 # J$ &I J JJP	D4::t{{DKK"HIGGI  J ...D=OOG,T>OOH-T>OOH-4,,OODMM2"B%:*R*@*@HHJHHRL"  # s   Y 6Y.Z 5Z" 	AZ" )AZ" AZ" Y+.ZZ"2_7['%_7'[62_75[66_7B_72_"_7
_" _7"_1-_70_11_7c                    R V P                   P                   RV P                   RV P                  : R2p\	        V4      ^P8  d   VR,          R,           pV# )<z: returncode: z args: >:NL   Nz...>)r{   r"   r6   r   r	  )r:   obj_reprs   & r0   r|   Popen.__repr__4  s[    ''( )??+7499-qB 	 x=2}v-Hr/   c                    V P                   # r5   )rS  rC   s   &r0   r   Popen.universal_newlines?  s     ~~r/   c                &    \        V4      V n        R # r5   )r*  rS  )r:   r   s   &&r0   r   r  E  s    01r/   c                h    VP                  W#4      pVP                  R R4      P                  RR4      # )z
r  )decodereplace)r:   r  r   r   s   &&&&r0   _translate_newlinesPopen._translate_newlinesI  s.    {{8,||FD)11$==r/   c                    V # r5   r!   rC   s   &r0   	__enter__Popen.__enter__M  s    r/   c                   V P                   '       d   V P                   P                  4        V P                  '       d   V P                  P                  4         V P                  '       d   V P                  P                  4        V\        8X  d8   V P
                  ^ 8  d    V P                  V P
                  R7       ^ V n        R# V P                  4        R#   \         d     L(i ; i  T\        8X  dI   T P
                  ^ 8  d0    T P                  T P
                  R7       M  \         d     Mi ; i^ T n        i T P                  4        i ; i)r   r   N)	rH   rf  r9   r   KeyboardInterruptrT  _waitr   r   )r:   exc_typerL   	tracebacks   &&&&r0   __exit__Popen.__exit__P  s   ;;;KK;;;KK	zzz

  ",, ))A-

4+A+A
B *+& 		 *  ,, ))A-

4+A+A
B) )*& 		sH   C+ ,C+ #C C('C(+E	D&%E&D41E3D44Ec                   V P                   '       g   R # V P                  f!   V! RV P                  ,          \        V R7       V P	                  VR7       V P                  f"   \
        e   \
        P                  V 4       R # R # R # )Nzsubprocess %s is still running)sourcer   )_child_createdr6   rR  ResourceWarningr   r   r   )r:   _maxsize_warns   &&&r0   r   Popen.__del__k  sl    """??" 2TXX=!$0 	x0??"w':NN4  (;"r/   c                    \        V R 4      '       g9   \        P                  ! \        P                  \        P                  4      V n        V P
                  # )rG  )r(  r&   rb  devnullO_RDWRrG  rC   s   &r0   _get_devnullPopen._get_devnullz  s3    tZ((GGBJJ		:DM}}r/   c                   V'       d    V P                   P                  V4        V P                   P                  4        R #   \         d     L*\         d+   pTP                  \        P
                  8X  d    R p?LXh R p?ii ; i  \         d     R # \         d,   pTP                  \        P
                  8X  d    R p?R # h R p?ii ; ir5   )r   writeBrokenPipeErrorr0  r,   EINVALrf  )r:   r   r  s   && r0   _stdin_writePopen._stdin_write  s    

  '	JJ #  99,   	 	yyELL(		sR   A B BBBA>=A>>BC	C	C	CCC	c                \   V P                   '       d   V'       d   \        R 4      hVEf   V P                   '       Eg    V P                  V P                  V P                  .P                  R4      ^8  d   RpRpV P                  '       d   V P                  V4       MV P                  '       d6   V P                  P                  4       pV P                  P                  4        MFV P                  '       d5   V P                  P                  4       pV P                  P                  4        V P                  4        W43# Ve   \        4       V,           pMRp V P                  WV4      w  r4 RT n          T P                  T P                  T4      R7      pY43#   \         dd    Te'   \        T P                  T P                  T4      4      pMT P                  p^ T n         T P!                  TR7       h   \"         d     h i ; ii ; i  RT n         i ; i  \"         d   pY(n        h Rp?ii ; i)z.Cannot send input after starting communicationNr   T)rN  rB   r   rH   r9   countr  readrf  r   _time_communicater  minrT  _remaining_timer  r   rW   )	r:   r   rW   rH   r9   endtimesigint_timeoutstsr  s	   &&&      r0   r   Popen.communicate  s   $ &&&5MNN
 OD$?$?$?ZZdkk288>!CFFzzz!!%())+!!#))+!!#IIK@ = "'G+3!%!2!257!K" /3+ii(<(<W(EiF
 / %  &%()?)?)-)=)=g)F&HN &*%;%;N)*&JJ~J6  &   /3+ " %sU   F 3!H AH G32H3H>H HHH 	HH+H&&H+c                "    V P                  4       # r5   )r   rC   s   &r0   r   
Popen.poll  s     ""$$r/   c                0    Vf   R # V\        4       ,
          # r5   )r  )r:   r  s   &&r0   r  Popen._remaining_time  s    ?UW$$r/   c                    Vf   R # V'       g   \        4       V8  dQ   \        V P                  TV'       d   RP                  V4      MR V'       d   RP                  V4      R7      hR R7      hR # )Nr/   r   )r  r   r   r   )r:   r  orig_timeout
stdout_seq
stderr_seqskip_check_and_raises   &&&&&&r0   _check_timeoutPopen._check_timeout  sf     ?57W#4 II|3=388J/43=388J/I I DHI I $5r/   c                4   Ve   \        4       V,           p V P                  VR7      #   \         dd    Te'   \        T P                  T P                  X4      4      pMT P                  p^ T n         T P                  TR7       h   \         d     h i ; ii ; i)Nr   )r  r  r  r  rT  r  r   )r:   rW   r  r  s   &&  r0   r   
Popen.wait  s    g'G	::g:..  	
 "!$T%;%;%)%9%9'%B"D "&!7!7%&D"

>
2  " 	s.   ) AB2BBBBBBc                   \        V R R4      p\        P                  ! 4       ;_uu_ 4       p\        '       dh   VR8w  d   VP	                  VP
                  4       VR8w  d   VP	                  VP
                  4       VR8w  d   VP	                  VP
                  4       MVR8w  d.   VR8w  d'   W8w  d!   VP	                  \        P                  V4       VR8w  d.   VR8w  d'   WG8w  d!   VP	                  \        P                  V4       VR8w  d.   VR8w  d'   Wg8w  d!   VP	                  \        P                  V4       Ve!   VP	                  \        P                  V4       RRR4       RV n        R#   + '       g   i     L; i)rG  NTr  )	r   
contextlib	ExitStackr   callbackrt   r&   rf  rU  )	r:   rw  rx  ry  rz  r{  r|  
devnull_fdstacks	   &&&&&&&  r0   _close_pipe_fdsPopen._close_pipe_fds  s
   
 T:t4
!!##uzb=NN7==1r>NN8>>2r>NN8>>2b=X^8MNN288W5r>gm8NNN288X6r>gm8NNN288X6%rxx4# $( '+#) $#s   D4E00F 	c              #  R  "   . p Vx  R#    \        T R 4      '       d   TP                  T P                  4       T =T F`  p \        '       d)   \	        T\
        4      '       d   TP                  4        K8  \        P                  ! T4       KP    \         d     K^  i ; i	  h ; i5i)rG  N)
r(  r   rG  r   rO  ro   rt   r&   rf  r0  )r:   r}  r~  s   &  r0   _on_error_fd_closerPopen._on_error_fd_closer-  s      	N	tZ((.M!zjV&<&<
   sI   B' B'6B$2B5B$7BB$BB$BB$$B'c                   Vf   Vf   Vf   R# RRrTRRrvRRrV P                  4       ;_uu_ 4       p
Vfu   \        P                  ! \        P                  4      pVfL   \        P                  ! R ^ 4      w  rK\        V4      pV
P                  V4       \        P                  ! V4       MV\        8X  dB   \        P                  ! R ^ 4      w  rE\        V4      \        V4      rTV
P                  WE34       MV\        8X  d&   \        P                  ! V P                  4       4      pMQ\        V\        4      '       d   \        P                  ! V4      pM$\        P                  ! VP!                  4       4      pV P#                  V4      pVfu   \        P                  ! \        P$                  4      pVfL   \        P                  ! R ^ 4      w  r\        V4      pV
P                  V4       \        P                  ! V4       MV\        8X  dB   \        P                  ! R ^ 4      w  rg\        V4      \        V4      rvV
P                  Wg34       MV\        8X  d&   \        P                  ! V P                  4       4      pMQ\        V\        4      '       d   \        P                  ! V4      pM$\        P                  ! VP!                  4       4      pV P#                  V4      pVfu   \        P                  ! \        P&                  4      p	V	fL   \        P                  ! R ^ 4      w  r\        V	4      p	V
P                  V	4       \        P                  ! V4       MV\        8X  dB   \        P                  ! R ^ 4      w  r\        V4      \        V	4      rV
P                  W34       MV\(        8X  d   Tp	MV\        8X  d&   \        P                  ! V P                  4       4      p	MQ\        V\        4      '       d   \        P                  ! V4      p	M$\        P                  ! VP!                  4       4      p	V P#                  V	4      p	R R R 4       WEWgW3#   + '       g   i     L; i)Nr  )r  r  r  r  r  r  )r  r~   GetStdHandler   
CreatePipero   r   rs   r   r   DEVNULLr_  get_osfhandler  rO  rw   fileno_make_inheritabler   r   r  )r:   r   rH   r9   rw  rx  ry  rz  r{  r|  err_close_fds_s   &&&&        r0   r^  Popen._get_handlesE  sk    }FN// "BX "BX "BX))++}=%2273K3KLG%,%7%7a%@
"(/%,,W5++A.d](/(:(:4(C%G(.w9IX!((')<=g%$2243D3D3FGGs++$2259G %225<<>BG009>&33G4M4MNH'&-&8&8q&A#)(#3%,,X6++A.t^(/(:(:4(C%G(.w9IX!((')<=w&%33D4E4E4GHH,,%33F;H  &33FMMODH11(;>&33G4L4LMH'&-&8&8q&A#)(#3%,,X6++A.t^(/(:(:4(C%G(.w9IX!((')<=v%'Hw&%33D4E4E4GHH,,%33F;H  &33FMMODH11(;{ ,~ ' ' ,+s   PQQ	c                    \         P                  ! \         P                  ! 4       V\         P                  ! 4       ^ ^\         P                  4      p\	        V4      # r   )r~   DuplicateHandleGetCurrentProcessDUPLICATE_SAME_ACCESSro   )r:   handlehs   && r0   r  Popen._make_inheritable  sE    ''))+V))+Q--/A !9r/   c                    \        V Uu0 uF>  pV^,          ^8w  g,   \        P                  ! V4      \        P                  8w  g   K<  VkK@  	  up4      # u upi )   )rk   r~   GetFileTypeFILE_TYPE_CHAR)r:   rf   r  s   && r0   _filter_handle_listPopen._filter_handle_list  sX     k 4kF"SLC/#//7#223  k 4 5 5 4s   9AAc                   \        V\        4      '       d   M\        V\        4      '       d!   V
'       d   \        R 4      h\	        V.4      pMK\        V\
        P                  4      '       d!   V
'       d   \        R4      h\	        V.4      pM\	        V4      pVe   \
        P                  ! V4      pVf   \        4       pMVP                  4       pRWV39  pV'       d;   V;P                  \        P                  ,          un
        Wn        Wn        VVn        VP                   p\#        T;'       d    RV9   ;'       d
    VR,          4      pV'       g   V'       d   V'       d   Vf
   / ;pVn        \%        VP'                  R. 4      4      ;pVR&   V'       d(   V\)        V4      \)        V4      \)        V4      .,          pV P+                  V4      VR&   V'       d&   V'       g   \,        P.                  ! R\0        4       RpV
'       Ed   V;P                  \        P2                  ,          un
        \        P4                  Vn        V'       g   \
        P8                  P'                  R4      pV'       gr   \
        P8                  P'                  RR	4      p\
        P:                  P=                  VR
R4      p\
        P:                  P?                  V4      '       g   \A        R4      h\
        P:                  P?                  V4      '       d   TpMTpRPC                  VV4      pVe   \
        P                  ! V4      p\D        PF                  ! RW!Wg4        \        PH                  ! W!RR\)        V'       * 4      V	VVV4	      w  ppp p!V PK                  WWVV4       RV n&        \O        V4      V n(        V V n)        \        PT                  ! V4       R#   T PK                  YYTT4       i ; i)z$bytes args is not allowed on Windows0path-like args is not allowed when shell is trueNrf   r   z?startupinfo.lpAttributeList['handle_list'] overriding close_fdsFComSpec
SystemRootr   System32zcmd.exez:shell not found: neither %ComSpec% nor %SystemRoot% is setz
{} /c "{}"subprocess.PopenTr  )+rO  rV  bytesrP  r  r&   PathLiker  r   rj   r_   r~   r   r`   ra   rb   rd   r*  rk   r   rw   r  r   r   rQ  r   r   rc   r)  pathr   isabsFileNotFoundErrorr   r   auditCreateProcessr  r  ro   _handlerR  rs   )"r:   r   rh  ri  rj  rq  rk  rl  rm  rn  r  rw  rx  ry  rz  r{  r|  unused_restore_signals
unused_gidunused_gids
unused_uidunused_umaskunused_start_new_sessionunused_process_groupuse_std_handlesattribute_listhave_handle_listrf   comspecsystem_roothphtrR  tids"   &&&&&&&&&&&&&&&&&&&&&&&&          r0   rd  Popen._execute_child  s;    $$$D%((#$JKK#TF+D"++..# %4 5 5#TF+#D)%[[4
 ")m *..0 H(EEO##w'C'CC#(/%)1&(0%(88N#N %B %B$1^$C%B %B$2=$A C
  O	!)CEEN[%@++M2>?@n]; #CL#h-X#OOK!%!9!9+!FA$  '=>LN !&Iu##w'C'CC#*1//'! !jjnnY7G"&(jjnn\2&F"$'',,{J	"R!ww}}W55"34p"qqww}}W--%,
(G#**GT:kk#&II(*CE8#*#8#8)-t),]);)6),),)4$6 BS $$W%,%,h8
 #'D!":DLDH# $$W%,%,h8s   0O O)c                    V P                   f0   V! V P                  ^ 4      V8X  d   V! V P                  4      V n         V P                   # r5   )r6   r  )r:   r   _WaitForSingleObject_WAIT_OBJECT_0_GetExitCodeProcesss   &&&&&r0   r   Popen._internal_poll)  s;     &'a8NJ&9$,,&GDO??"r/   c                z   Vf   \         P                  pMV^ 8:  d   ^ pM\        VR,          4      pV P                  fr   \         P                  ! V P
                  V4      pV\         P                  8X  d   \        V P                  V4      h\         P                  ! V P
                  4      V n        V P                  # )Ni  )
r~   INFINITErw   r6   WaitForSingleObjectr  WAIT_TIMEOUTr   r   GetExitCodeProcess)r:   rW   timeout_millisr  s   &&  r0   r  Popen._wait:  s    !(!1!1A!"!$Wt^!4& 44T\\5CEW111(G<<")"<"<T\\"J??"r/   c                d    VP                  VP                  4       4       VP                  4        R # r5   )r   r  rf  )r:   fhbuffers   &&&r0   _readerthreadPopen._readerthreadL  s    MM"'')$HHJr/   c                   V P                   '       d   \        V R 4      '       gp   . V n        \        P                  ! V P
                  V P                   V P                  3R7      V n        RV P                  n        V P                  P                  4        V P                  '       d   \        V R4      '       gp   . V n
        \        P                  ! V P
                  V P                  V P                  3R7      V n        RV P                  n        V P                  P                  4        V P                  '       d   V P                  V4       V P                   ea   V P                  P                  V P                  V4      4       V P                  P!                  4       '       d   \#        V P$                  V4      hV P                  ea   V P                  P                  V P                  V4      4       V P                  P!                  4       '       d   \#        V P$                  V4      hRpRpV P                   '       d'   V P                  pV P                   P'                  4        V P                  '       d'   V P                  pV P                  P'                  4        V'       d
   V^ ,          MRpV'       d
   V^ ,          MRpWE3# )_stdout_buff)targetr   T_stderr_buffN)rH   r(  r  rJ  Threadr  stdout_threaddaemonstartr9   r  stderr_threadr   r  r   r  is_aliver   r   rf  )r:   r   r  r  rH   r9   s   &&&&  r0   r  Popen._communicateQ  s    {{{74#@#@$&!!((0B0B/3{{D<M<M.NP " -1"")""((*{{{74#@#@$&!!((0B0B/3{{D<M<M.NP " -1"")""((*zzz!!%(
 {{&""''(<(<W(EF%%..00(LAA{{&""''(<(<W(EF%%..00(LAA FF{{{**!!#{{{**!!# #)VAYdF"(VAYdF##r/   c                   V P                   e   R # V\        P                  8X  d   V P                  4        R # V\        P                  8X  d2   \
        P                  ! V P                  \        P                  4       R # V\        P                  8X  d2   \
        P                  ! V P                  \        P                  4       R # \        RP                  V4      4      h)NzUnsupported signal: {})r6   r@   SIGTERM	terminateCTRL_C_EVENTr&   r   rR  CTRL_BREAK_EVENTrB   r   r:   sigs   &&r0   send_signalPopen.send_signal  s     *fnn$ +++&"5"56///&"9"9: !9!@!@!EFFr/   c                   V P                   e   R #  \        P                  ! V P                  ^4       R #   \         dA    \        P
                  ! T P                  4      pT\        P                  8X  d   h Yn          R # i ; ir5   )r6   r~   TerminateProcessr  PermissionErrorr  STILL_ACTIVE)r:   rcs   & r0   r"  Popen.terminate  se     *%((q9" % //=---"$%s   !5 AB ?B c                   RRrTRRrvRRrV P                  4       ;_uu_ 4       p
Vf   MV\        8X  d   \        P                  ! 4       w  rEV
P	                  WE34       V P
                  ^ 8  dG   \        \        R4      '       d1   \        P                  ! V\        P                  V P
                  4       MEV\        8X  d   V P                  4       pM)\        V\        4      '       d   TpMVP                  4       pVf   MV\        8X  d   \        P                  ! 4       w  rgV
P	                  Wg34       V P
                  ^ 8  dG   \        \        R4      '       d1   \        P                  ! V\        P                  V P
                  4       MEV\        8X  d   V P                  4       pM)\        V\        4      '       d   TpMVP                  4       pVf   EMV\        8X  d   \        P                  ! 4       w  rV
P	                  W34       V P
                  ^ 8  dG   \        \        R4      '       d1   \        P                  ! V	\        P                  V P
                  4       MyV\        8X  d*   VR8w  d   Tp	Md\        P                   P                  4       p	MEV\        8X  d   V P                  4       p	M)\        V\        4      '       d   Tp	MVP                  4       p	RRR4       WEWgW3#   + '       g   i     L; i)   NF_SETPIPE_SZr  )r  r   r&   piper   r=  r(  fcntlr1  r  r  rO  rw   r  r  r   
__stdout__)r:   r   rH   r9   rw  rx  ry  rz  r{  r|  r  s   &&&&       r0   r^  r    s8    !#BX "BX "BX))++}=d](*	%G!((')<=}}q(WUN-K-KHe.@.@$--Pg%"//1Gs++#G $llnG>t^(*	%G!((')<=}}q(WUN-K-KHe.@.@$--Pw&#002H,,%H  &}}H>t^(*	%G!((')<=}}q(WUN-K-KHe.@.@$--Pv%2~#+#&>>#8#8#:w&#002H,,%H  &}}Hc ,f ' 'g ,+s   J8K''K7	c                P   / pV'       d8   . pR F+  p\        \        VR4      pVf   K  VP                  V4       K-  	  WR&   . pWxV
3 F-  pVR8w  g   K  VP                  \        P                  V34       K/  	  V^ 3V	^3V^33 F1  w  ppVR8w  g   K  VP                  \        P
                  VV34       K3  	  V'       d"   VP                  \        P                  ^34       V'       d   VVR&   \        P                  ! W!V3/ VB V n        RV n	        V P                  WgWW4       R# )SIGPIPEN	setsigdeffile_actionsT)r6  SIGXFZSIGXFSZr  )r   r@   r   r&   POSIX_SPAWN_CLOSEPOSIX_SPAWN_DUP2r7  r  rR  r  r  )r:   r   rh  rl  ro  rj  rw  rx  ry  rz  r{  r|  r   sigsetsignamesignumr8  r~  fd2s   &&&&&&&&&&&&       r0   _posix_spawnPopen._posix_spawn  s%   
 F?G$VWd;F)f-  @ '-{#L'28 '')=)=r(BC 3 !11C
 8 '')<)<b#(FG ##R%=%=q$AB)5~&~~jFvFDH"&D  !(!(4r/   c                8  a \        V\        \        34      '       d   V.pMB\        V\        P                  4      '       d   V
'       d   \        R 4      hV.pM\        V4      pV
'       d3   \        \        R4      '       d   RMRpVR.V,           pS'       d   SV^ &   Sf
   V^ ,          o\        P                  ! RSWV4       \        '       d   \        P                  P                  S4      '       d   Vf   V'       d   \        '       dt   V'       gl   Vfh   VR8X  g   V^8  dZ   VR8X  g   V^8  dL   VR8X  g   V^8  d>   V'       g6   VR8X  d/   Vf+   Vf'   Vf#   V^ 8  d   V P                  VSVVVWWVV4       R# Sp\        P                  ! 4       w  pp. pV^8  d*   VP!                  V4       \        P"                  ! V4      pK0  V F  p\        P$                  ! V4       K  	    Vey   . pVP'                  4        Fa  w  pp \        P(                  ! V4      pRV9   d   \+        R4      hVP!                  VR,           \        P(                  ! V 4      ,           4       Kc  	  MRp\        P(                  ! S4      o\        P                  P                  S4      '       d   S3p!MZ\,        ;QJ d+    . V3R	 l\        P.                  ! V4       4       F  NK  	  5M$! V3R	 l\        P.                  ! V4       4       4      p!\1        V4      p"V"P3                  V4       \5        VV!V\-        \7        \9        \:        V"4      4      4      VVWWVVVVVVVVVVVV4      V n        R
V n        \        P$                  ! V4       V PA                  WWVV4       \C        4       p# \        PD                  ! VR4      p$V#V$,          p#V$'       d   \G        V#4      R8  g   K;   \        P$                  ! T4       T#'       Ed*    \        PH                  ! T P<                  ^ 4      w  p%p&T%T P<                  8X  d   T PK                  T&4       M\        PL                  T n'          T#PS                  R^4      w  p'p(p)T)PU                  4       p)\Y        \Z        T'PU                  R4      \\        4      p*\_        T*\`        4      '       dc   T('       d[   \;        T(^4      p+T)R8X  d   Rp)Tp,MT)R8X  d   Rp)Rp,MTp,T+^ 8w  d   \        Pb                  ! T+4      p)T,e   T*! T+T)T,4      hT*! T+T)4      hT*! T)4      hR#   \        P$                  ! T4       i ; i  \        P$                  ! T4       i ; i  \P         d     ELi ; i  \*         d#    Rp'Rp(RPW                  \        T#4      4      p) ELi ; i)r  getandroidapilevelz/system/bin/shz/bin/shz-cNr     =z!illegal environment variable namec              3      <"   T F9  p\         P                  P                  \         P                  ! V4      S4      x  K;  	  R # 5ir5   )r&   r  r   fsencode).0dirrh  s   & r0   	<genexpr>'Popen._execute_child.<locals>.<genexpr>g  s3      0>'< GGLLS)9:FF'<s   AATiP     :s   SubprocessError   0z#Bad exception data from child: {!r}asciiznoexec:chdirr   noexecr  )2rO  rV  r  r&   r  rP  rk   r(  r   r  _USE_POSIX_SPAWNr  dirname_HAVE_POSIX_SPAWN_CLOSEFROMrA  r2  r   duprf  r   rG  rB   r.  get_exec_pathsetadd
_fork_execsortedr  rw   rR  r  r  	bytearrayr  r	  r'   _handle_exitstatusr   r6   ChildProcessErrorr-  r  r   r   builtinsr   
issubclassr0  strerror)-r:   r   rh  ri  rj  rq  rk  rl  rm  rn  r  rw  rx  ry  rz  r{  r|  ro  rr  rs  rv  r<  rp  r>  
unix_shellorig_executableerrpipe_readerrpipe_writelow_fds_to_closelow_fdenv_listkr   executable_listfds_to_keeperrpipe_datapartrR  r  exception_name	hex_errnoerr_msgchild_exception_type	errno_numerr_filenames-   &&f&&&&&&&&&&&&&&&&&&&&&                     r0   rd  r    s    $e--vD"++..# %4 5 5vDz "#';<< /BK "D)D0(DG!!!W
II(*dE  
33"*&*E*E$ B'A+!R8a<!R8a<-%+	!!$
C)")")")85 (O
 +-'')'L-!!# ''6 "} 5*  +7'&, #%$'IIKDAq "AA#qy&01T&U U$OOAHr{{1~,EF	 %0 $(!#Z!8Jwwz22+5- +0% 0>')'7'7'<0>%% 0>')'7'7'<0> +> #&h-KOOM2) /%uVC[4I-J'K#w#X(-+->)3c5&	 (DH +/D' HH]+$$W%,%,h8  ){77<7D D(L3|#4u#< &|!zz$((A6HCdhh//4*-++7(..tQ7 7NIw
 &nn.G (/ ."7"7"@'()$ 2G<< #Ir 2I.0"$'* H,"$'+'6 A~"$++i"8#/29g|TT29gFF*733U % HH]+  & )  " 7%7N $ICJJ"'"57G7sd   -B8T$ &T$ 5B5T$ *AT? T? T? :AU U &U, $T<<T? ?UU)(U),)VVc                    VP                  V4      '       d   VP                  V4      ) V n        R # VP                  V4      V n        R # r5   )r)   r*   r6   r(   )r:   r  r    s   &&&r0   rZ  Popen._handle_exitstatus  s<     ##C((#,#5#5c#:":"+"B"B3"Gr/   c                   V P                   f   V P                  P                  R4      '       g   R #  V P                   e'   V P                   V P                  P                  4        # VP	                  V P
                  VP                  4      w  r4W0P
                  8X  d   V P                  V4       T P                  P                  4        T P                   # V P                   #   \         d<   pTe   Yn          R p?LLTP                  TP                  8X  d   ^ T n          R p?LsR p?ii ; i  T P                  P                  4        i ; i)NF)r6   rL  acquirereleaser'   rR  r+   rZ  r0  r,   r-   )r:   r   r    rR  r  es   &&&   r0   r   r    s    &))11%88  12# &&..0  )009;L;LMHChh//4 &&..0??"4??"  	,!-*4I$4$44 +,	, &&..0s<   C" 'A	C" "D(-
D#7D+ <"D#D+ #D((D+ +Ec                     \         P                  ! V P                  V4      w  r#W#3#   \         d    T P                  p^ p Y#3# i ; ir  )r&   r'   rR  r[  )r:   
wait_flagsrR  r  s   &&  r0   	_try_waitPopen._try_wait  sP    ZZ*=
 : %  hh:s   #( AAc                Z   V P                   e   V P                   # VEeK   \        4       V,           pRp V P                  P                  R4      '       d    V P                   e(    V P                  P	                  4        V P                   # V P                  \        P                  4      w  rEW@P                  8X  d9   V P                  V4        V P                  P	                  4        V P                   #  V P                  P	                  4        V P                  V4      pV^ 8:  d   \        V P                  V4      h\        V^,          VR4      p\        P                  ! V4       EK7  V P                   fw   V P                  ;_uu_ 4        V P                   e    R R R 4       V P                   # V P                  ^ 4      w  rEW@P                  8X  d   V P                  V4       R R R 4       K  V P                   #   T P                  P	                  4        i ; i  + '       g   i     K  ; i)NgMb@?Fg?)r6   r  rL  rt  ru  ry  r&   r+   rR  rZ  r  r   r   r  timesleep)r:   rW   r  delayrR  r  	remainings   &&     r0   r  r    s   *&"'G+ ))11%88	9#: % !..668" ??"/ *.

)CJS"hh $ 7 7 < % ..668" ??"+  / !..668 $ 4 4W =I A~,TYY@@	9c:EJJu%oo-+++??6! , ??" &*^^A%6
 ((? 33C8 ,+ ??"# !..668 ,++s%   G: AG: H04H:HH*	c           
        V P                   '       dQ   V P                  '       g?    V P                   P                  4        V'       g    V P                   P	                  4        R pR pV P                  '       g^   / V n        V P                  '       d   . V P
                  V P                  &   V P                  '       d   . V P
                  V P                  &   V P                  '       d   V P
                  V P                  ,          pV P                  '       d   V P
                  V P                  ,          pV P                  V4       V P                  '       d   \        V P                  4      p\        4       ;_uu_ 4       pV P                   '       d3   V'       d+   VP                  V P                   \        P                  4       V P                  '       dG   V P                  P                  '       g+   VP                  V P                  \        P                   4       V P                  '       dG   V P                  P                  '       g+   VP                  V P                  \        P                   4       VP#                  4       '       Ed   V P%                  V4      pVe'   V^ 8  d    V P'                  W#WERR7       \)        R4      hVP+                  V4      p	V P'                  W#WE4       V	 EF  w  rV
P,                  V P                   J d   XV P.                  V P.                  \0        ,            p V ;P.                  \2        P4                  ! V
P6                  V4      ,          un        V P.                  \9        V P                  4      8  d8   VP;                  V
P,                  4       V
P,                  P	                  4        K  K  V
P,                  V P                  V P                  39   g   EK  \2        P<                  ! V
P6                  R4      pV'       g6   VP;                  V
P,                  4       V
P,                  P	                  4        V P
                  V
P,                  ,          P?                  V4       EK  	  EK   R R R 4        V PA                  V P%                  V4      R7       Te   RPG                  T4      pTe   RPG                  T4      pT PH                  '       d   Te<   T PK                  TT P                  PL                  T P                  PN                  4      pTe<   T PK                  TT P                  PL                  T P                  PN                  4      pYE3#   \         d     EL6i ; i  \         d     EL%i ; i  \         d;    TP;                  T
P,                  4       T
P,                  P	                  4         EK  i ; i  + '       g   i     EL\; i  \B         d   pY>n"        h R p?ii ; i)NT)r  zN_check_timeout(..., skip_check_and_raise=True) failed to raise TimeoutExpired.i   r   r/   )(r   rN  flushr  rf  _fileobj2outputrH   r9   _save_inputrM  
memoryview_PopenSelectorregister	selectorsEVENT_WRITErr   
EVENT_READget_mapr  r  RuntimeErrorselectfileobj_input_offset	_PIPE_BUFr&   r  r~  r	  
unregisterr  r   r   r   rW   r   rS  r  r   r   )r:   r   r  r  rH   r9   
input_viewselectorrW   readykeyeventschunkr  r  s   &&&&           r0   r  r    sz   zzz$"="="=JJ$$& 

((* FF ...')$;;;8:D((5;;;8:D((5{{{--dkk:{{{--dkk:U#{{{'4
!!X:::%%%djj)2G2GH;;;t{{'9'9'9%%dkk93G3GH;;;t{{'9'9'9%%dkk93G3GH&&(("227;G*w{++G,2AE , G +>? ? %OOG4E''vN
 (-;;$**4$.t/A/A/3/A/AI/M%OE8 $ 2 2bhhsvvu6M M 2
 $(#5#5T[[9I#I$,$7$7$D$'KK$5$5$7 $J ![[T[[$++,FF#%773665#9D#' ( 3 3CKK @ # 1 1 3 00=DDTJ% (-! ) "V		$"6"6w"?	@ !&)!&) ~~~%!55f6:kk6J6J6:kk6H6HJF %!55f6:kk6J6J6:kk6H6HJF ##A ' 
 + l $3 4 ( 3 3CKK @ # 1 1 3 34= "!!Z " *s   U( 	U: >W;WW1;W-W	A W
B$W/8V'BW.(WA)W
!W( (U76U7:V	V	A W	WW	WW%	(W?3W::W?c                .   V P                   '       d   V P                  fs   ^ V n        Wn        Ve`   V P                  '       dL   V P                  P	                  V P                   P
                  V P                   P                  4      V n        R # R # R # R # R # r5   )r   rM  r  rS  encoder   r   )r:   r   s   &&r0   r  Popen._save_input  sp     zzzdkk1%&"#$"&++"4"4TZZ5H5H59ZZ5F5F#HDK *8$ 2zr/   c                    V P                  4        V P                  e   R #  \        P                  ! V P                  V4       R #   \
         d     R # i ; ir5   )r   r6   r&   r   rR  ProcessLookupErrorr%  s   &&r0   r'  r(    sC    $ IIK*
#&% s   !A AAc                D    V P                  \        P                  4       R # r5   )r'  r@   r!  rC   s   &r0   r"  r.         V^^,r/   c                D    V P                  \        P                  4       R # r5   )r'  r@   SIGKILLrC   s   &r0   r   
Popen.kill  r  r/   )r  rU  rN  rG  r  r  rM  r  rT  r  r  rL  r   r   r   rR  r=  r6   r9   r  r   rH   r  rS  r  )r  NNNNNTFNNNNr   TFr!   rN   )Fr5   )8r"   r#   r$   r%   r  r;   r|   r   r   r   r   rP   r   rQ   r  r  r  r   r   r   r   r   r  r  r   r   r  r  r   r  r  contextmanagerr  r   r^  r  r  rd  r~   r  WAIT_OBJECT_0r  r   r  r  r  r'  r"  r   rA  r    rZ  ry  r  r.   rR   rS   s   @r0   r   r     s    p NB '+B 37B FJB B (,B 37B ?AB LNB  $BH $E$6$67 
 2 2>6  #{{(-- !
2D N%%	I.+:  & L	'^	
	5}	$~ -1%,%@%@&44$+$>$>	#"	#$	
0	$d	G	% =	'@&	4Pg	4T 5> 	H -1I 	#D
	&	#Rf	$R		H	@	-
	- 	-r/   )r   r   r  r   r   r  r  r   r   r   r  r   r   r   >   iostvoswasiwatchos
emscripten)r	   r
   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r  )Tr\  r,   ra  r   r&   r|  r@   r   rJ  r   r  r   r  r   r3  rX  __all__r_  r   ModuleNotFoundErrorr+  rH  r~   r	   r
   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   _posixsubprocessr   rW  r    r  r  	Exceptionr   r   r   r   rw   ro   r   r  r(  r   r  SelectSelectorr   r   r   r  r  r   r   r   r   r   r   objectr   r   r  r  r  r6  rP  rR  r   r!   r/   r0   <module>r     sV  V   	  	   
    # 
D J %UU	O 	O 	O 	O 	O 	O NN 
N 
O <	" 	"	" 	"  'i &" "J_ 8 : :. , 
C0I
 y.))"//"11  G G 
	
:z$(T "&2 T 2 j!2v !2HCCCC#(CC26CC>CCCLCRT $ @
Et 
ED 
E0j $% %b*AB @- @-w  E  Js#   F= G =	G
	G
	GG