Ë
    ˜šãjª  ã                   óX   — d Z ddlZddlZddlZddlmZmZ ddlmZ ddl	m
Z
 dd„Zd	d„Zy)
zìdistutils.spawn

Provides the 'spawn()' function, a front-end to various platform-
specific functions for launching another program in a sub-process.
Also provides the 'find_executable()' to search the path for a given
executable name.
é    N)ÚDistutilsPlatformErrorÚDistutilsExecError)ÚDEBUG)Úlogc                 óD  — t        | «      } t        j                  t        j                  | «      «       |ry|rt        | d   «      }|�|| d<   |�|nt        t        j                  «      }t        j                  dk(  rddlm}m}  |«       }|r|||<   	 t        j                  | |¬«      }	|	j                  «        |	j                   }
|
rt$        s| d   } t'        d| ›d	|
›�«      ‚y# t"        $ r/}t$        s| d   } t'        d| ›d|j(                  d   ›�«      |‚d}~ww xY w)
a�  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   Údarwin)ÚMACOSX_VERSION_VARÚget_macosx_target_ver)Úenvzcommand z	 failed: éÿÿÿÿz failed with exit code )Úlistr   ÚinfoÚ
subprocessÚlist2cmdlineÚfind_executableÚdictÚosÚenvironÚsysÚplatformÚdistutils.utilr	   r
   ÚPopenÚwaitÚ
returncodeÚOSErrorr   r   Úargs)ÚcmdÚsearch_pathÚverboseÚdry_runr   Ú
executabler	   r
   Úmacosx_target_verÚprocÚexitcodeÚexcs               úf/var/www/html/python-recuperauto-other/env/lib/python3.12/site-packages/setuptools/_distutils/spawn.pyÚspawnr'      s  € ô$ ˆs‹)€Cä‡H�HŒZ×$Ñ$ SÓ)Ô*ÙØáÜ$ S¨¡VÓ,ˆ
ØÐ!ØˆC�‰Fà�‰#¤d¬2¯:©:Ó&6€Cä
‡|�|�xÒßLÙ1Ó3ÐÙØ&7ˆCÐ"Ñ#ðDÜ×Ñ ¨Ô-ˆØ�	‰	ŒØ—?‘?ˆñ ÝØ�a‘&ˆCÝ Ú7:¹HÐEóGð 	Gð øô ò DÝØ�a‘&ˆCÝ Ú'*¨C¯H©H°RªLÐ9ó;Ø@Cð	DûðDús   Â3C' Ã'	DÃ0*DÄDc                 óZ  — t         j                  j                  | «      \  }}t        j                  dk(  r
|dk7  r| dz   } t         j                  j                  | «      r| S |€8t         j                  j                  dd«      }|€	 t        j                  d«      }|sy|j                  t         j                  «      }|D ]E  }t         j                  j                  || «      }t         j                  j                  |«      sŒC|c S  y# t        t        f$ r t         j                  }Y ŒŽw xY w)zÚTries 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.
    Úwin32z.exeNÚPATHÚCS_PATH)r   ÚpathÚsplitextr   r   Úisfiler   ÚgetÚconfstrÚAttributeErrorÚ
ValueErrorÚdefpathÚsplitÚpathsepÚjoin)r!   r,   Ú_ÚextÚpathsÚpÚfs          r&   r   r   H   sõ   € ô �W‰W×Ñ˜jÓ)�F€A€sÜ�‰˜Ò c¨V¢mØ &Ñ(ˆ
ä	‡w�w‡~�~�jÔ!ØÐà€|Ü�z‰z�~‰~˜f dÓ+ˆØˆ<ð"Ü—z‘z )Ó,�ñ Øà�J‰J”r—z‘zÓ"€EØò ˆÜ�G‰G�L‰L˜˜JÓ'ˆÜ�7‰7�>‰>˜!ÕàŠHð	ð
 øô! #¤JÐ/ò "ä—z‘z’ð"ús   ÂD ÄD*Ä)D*)é   r   r   N)N)Ú__doc__r   r   r   Údistutils.errorsr   r   Údistutils.debugr   Ú	distutilsr   r'   r   © ó    r&   ú<module>rC      s*   ðñó Û 	Û ç GÝ !Ý ó3Gôl"rB   