+
    SBi                    (   R t ^ RIHt ^ RIt^ RIt^ RIt^ RIt^ RIt^ RIt^ RI	H
t
Ht ^ RIHtHtHt ^RIHt ^RIHt ^RIHt ]'       d   ^ RIHt ]! R	]
R
7      tR tR R lt]R R l4       t]R R l4       tR R ltRR R lltRR R lltR# )zdistutils.spawn

Provides the 'spawn()' function, a front-end to various platform-
specific functions for launching another program in a sub-process.
)annotationsN)MappingMutableSequence)TYPE_CHECKINGTypeVaroverload)logDEBUG)DistutilsExecError)_ENV	_MappingT)boundc                0    \         '       d   V # V ^ ,          # )z=
Render a subprocess command differently depending on DEBUG.
r	   )cmds   &@/usr/lib/python3.14/site-packages/setuptools/_distutils/spawn.py_debugr      s     %3#SV#    c                    V ^8  d   QhRRRR/# )   env_MappingT | Nonereturnz'_MappingT | dict[str, str | int] | None )formats   "r   __annotate__r   $   s     ' '+ '0W 'r   c                    \         P                  ! 4       R 8w  d   V # ^RIHpHp V! 4       pV'       d   W/M/ p/ \        V 4      CVC# )Darwin)MACOSX_VERSION_VARget_macosx_target_ver)platformsystemutilr   r   _resolve)r   r   r   
target_verupdates   &    r   _inject_macos_verr&   $   sB    H$
?&(J1; -F&hsm&v&&r   c                    V ^8  d   QhRRRR/# )r   r   Noner   zos._Environ[str]r   )r   s   "r   r   r   0   s     0 0$ 0+ 0r   c                    R # Nr   r   s   &r   r#   r#   /   s    -0r   c                    V ^8  d   QhRRRR/# )r   r   r   r   r   )r   s   "r   r   r   2   s     . .) .	 .r   c                    R # r*   r   r+   s   &r   r#   r#   1   s    +.r   c                    V ^8  d   QhRRRR/# )r   r   r   r   z_MappingT | os._Environ[str]r   )r   s   "r   r   r   3   s     . ." .'C .r   c                .    V f   \         P                  # T # r*   )osenvironr+   s   &r   r#   r#   3   s    2::-#-r   c               0    V ^8  d   QhRRRRRRRRRRR	R
/# )r   r   z/MutableSequence[bytes | str | os.PathLike[str]]search_pathboolverbosedry_runr   z_ENV | Noner   r(   r   )r   s   "r   r   r   7   sD     ( (	8(( ( 	(
 
( 
(r   c                   \         P                  ! \        P                  ! V 4      4       V'       d   R# V'       d&   \        P
                  ! V ^ ,          4      pVe   WP^ &    \        P                  ! V \        V4      R7       R#   \         d3   p\        R\        T 4      : RTP                  R,           24      ThRp?i\        P                   d,   p\        R\        T 4      : RTP                   24      ThRp?ii ; i)ac  Run another program, specified as a command list 'cmd', in a new process.

'cmd' is just the argument list for the new process, ie.
cmd[0] is the program to run and cmd[1:] are the rest of its arguments.
There is no way to run a program with a name different from that of its
executable.

If 'search_path' is true (the default), the system's executable
search path will be used to find the program; otherwise, cmd[0]
must be the exact path to the executable.  If 'dry_run' is true,
the command will not actually be run.

Raise DistutilsExecError if running the program fails in any way; just
return on success.
Nr+   zcommand z	 failed: z failed with exit code )r   info
subprocesslist2cmdlineshutilwhich
check_callr&   OSErrorr   r   argsCalledProcessError
returncode)r   r3   r5   r6   r   
executableexcerrs   &&&&&   r   spawnrF   7   s    , HHZ$$S)*\\#a&)
!F	c'8'=>  vc{oYsxx|n=
	 ((  vc{o%<S^^<LM
	s*   #!B D-B>>DD&C<<Dc               $    V ^8  d   QhRRRRRR/# )r   rC   strpathz
str | Noner   r   )r   s   "r   r   r   b   s!     $ $ $: $ $r   c                   \         P                  ! R\        ^R7       \        P                  P                  V 4      w  r#\        P                  R8X  d   VR8w  d
   V R,           p \        P                  P                  V 4      '       d   V # Vf<   \        P                  P                  RR4      pVf    \        P                  ! R4      pV'       g   R# VP                  \        P                   4      pV FK  p\        P                  P#                  WP4      p\        P                  P                  V4      '       g   KI  Vu # 	  R#   \        \        3 d    \        P                  p Li ; i)zTries to find 'executable' in the directories listed in 'path'.

A string listing directories separated by 'os.pathsep'; defaults to
os.environ['PATH'].  Returns the complete filename or None if not found.
z+Use shutil.which instead of find_executable)
stacklevelwin32z.exeNPATHCS_PATH)warningswarnDeprecationWarningr0   rI   splitextsysr    isfiler1   getconfstrAttributeError
ValueErrordefpathsplitpathsepjoin)rC   rI   _extpathspfs   &&     r   find_executablerb   b   s	    MM57IVW WWj)FAcVm&(
	ww~~j!!|zz~~fd+<"zz), JJrzz"EGGLL'77>>!H	 
  #J/ "zz"s   4E !E*)E*)TFFNr*   )__doc__
__future__r   r0   r    r<   r:   rS   rO   collections.abcr   r   typingr   r   r   _logr   debugr
   errorsr   r   r   r   r&   r#   rF   rb   r   r   r   <module>rj      s    # 	    
  4 3 3   & Kw/	$' 
 0 
 0	 . 
 ..(V$ $r   