+
    UBi?                        ^ RI H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 R ltRR R lltR R	 lt]R
8X  d,   ]P                   ! ]! ]P"                  R,          4      4       R# R# )    )annotationsN)ExecutableSerialisationc                   V ^8  d   QhRR/# )   returnzargparse.ArgumentParser )formats   "A/usr/lib/python3.14/site-packages/mesonbuild/scripts/meson_exe.py__annotate__r      s      ,     c                     \         P                  ! R R7      p V P                  R4       V P                  R4       V P                  R4       V # )zECustom executable wrapper for Meson. Do not run on your own, mmm'kay?)descriptionz
--unpicklez	--capturez--feed)argparseArgumentParseradd_argument)parsers    r
   buildparserr      sB    $$1yzF
%
$
!Mr   c               $    V ^8  d   QhRRRRRR/# )r   exer   	extra_envzT.Optional[T.Dict[str, str]]r   intr   )r	   s   "r
   r   r      s)     E E( E5Q E]` Er   c           
     	   V P                   '       d   V P                   P                  4       '       gE   \        R P                  V P                  ^ ,          V P                   P                  4       4      4      hV P                   P                  4       V P                  ,           pMV P                  p\        P                  P                  4       pV'       d   VP                  V4       V P                  '       d   V P                  P                  V4      pV P                  '       EdD   \        P                  P                  V P                  R.,           4      VR,          ,           VR&   V P                   '       d   \         ;QJ d4    R V P                   P                  4        4       F  '       g   K   RM)	  RM%! R V P                   P                  4        4       4      '       d   ^RIHp TP'                  V P                   P                  4       V P                   Uu. uF  pRV,           NK  	  upVP)                  RR4      P+                  R	4      ,           V P,                  4      VR&   R
pV P.                  '       d   \1        V P.                  R4      p\2        P4                  pV P6                  '       d   V P8                  '       d   Q R4       hR
p\2        P:                  ! W#V P,                  RWgVR7      pVP=                  4       w  rVe   VP?                  4        VP@                  R8X  d'   RVR,          ,           p
\C        VP@                  W4      hVP@                  ^ 8w  d   V PD                  '       d   \G        RV: 24       V P6                  '       d   VP@                  # \H        PJ                  ! 4       pV P8                  '       g(   \G        R4       \G        VPM                  VRR7      4       \G        R4       \G        V	PM                  VRR7      4       VP@                  # V P8                  '       d   Rp \1        V P8                  R4      ;_uu_ 4       pVPO                  4       V8H  pR
R
R
4       T'       g;   \1        T P8                  R4      ;_uu_ 4       pTPS                  T4       R
R
R
4       ^ # ^ # u upi   + '       g   i     LY; i  \P         d     Lii ; i  + '       g   i     ^ # ; i)zBBUG: Can't run cross-compiled exe {!r} with not-found wrapper {!r} PATHc              3  ,   "   T F
  pR V9   x  K  	  R# 5i)wineNr   ).0is   & r
   	<genexpr>run_exe.<locals>.<genexpr>'   s     "V8U16Q;8Us   TF)mesonlibzZ:WINEPATH;Nrbz4Cannot capture and print to console at the same time)envcwd	close_fdsstdinstdoutstderrl   5   z.Failed to run due to missing DLLs, with path: zwhile executing z--- stdout ---replace)encodingerrorsz--- stderr ---wb)*exe_wrapperfoundAssertionErrorr	   cmd_argsget_pathget_commandosenvironcopyupdater%   get_envextra_pathspathsepjoinanyr   r!   get_wine_shortpathgetsplitworkdirfeedopen
subprocessPIPEverbosecapturePopencommunicateclose
returncodeFileNotFoundErrorpickledprintlocalegetpreferredencodingdecodereadOSErrorwrite)r   r   r2   	child_envr!   pr(   piper)   r*   strerrorr,   
skip_writecuroutputs   &&             r
   run_exer\      sw   
$$&&  "006s||AH`H`Hb0ce e??..03<<?<<

!I#
wwwGGOOI.	
ZZ__S__t-CD&v./	&???ss"V8S8S8U"Vsss"V8S8S8U"VVV#$,$?$?++-#&??3?a?3immJPR6S6Y6YZ]6^^%Ij! E
xxxSXXt$??D
{{{;;;V VVckk#(4	QA]]_NF||z!CiPVFWWhAA||q;;;$XL12;;;<<..0{{{"#&--)-DEfmmXim@A||
{{{
	ckk4((C XXZ61
 ) ckk4((FV$ ) c 4R )( 		 )( sB   R6
8S R;*S S;S	S S SSS0	c                    V ^8  d   QhRRRR/# )r   argszT.List[str]r   r   r   )r	   s   "r
   r   r   ^   s      k c r   c                v   \        4       pVP                  V 4      w  r#V'       d   V^ ,          R8X  d
   VR,          pVP                  '       g   V'       g   VP                  R4       VP                  '       d   V'       g%   VP                  '       g   VP
                  '       d   VP                  R4       \        VP                  R4      ;_uu_ 4       p\        P                  ! V4      pRVn	        RRR4       M!\        W2P                  VP
                  R7      p\        X4      #   + '       g   i     L; i)	r   z--   NNz:either --unpickle or executable and arguments are requiredz.no other arguments can be used with --unpickler$   TN)rG   rB   )r   parse_known_argsunpickleerrorrG   rB   rC   pickleloadrM   r   r\   )r^   r   optionsr2   fr   s   &     r
   runri   ^   s    ]F//5G HQK4'B<HQRw',,,LLIJ'""D))Q++a.CCK *) &hgll[3< *)s   D((D8	__main__r`   )N)
__future__r   r5   sysr   re   rD   typingTrO   
utils.corer   r   r\   ri   __name__exitargvr   r   r
   <module>rs      s[    # 	 
      0EN( zHHS" r   