JFIF$        dd7 

Viewing File: /usr/lib/python3.9/site-packages/setuptools/_distutils/__pycache__/spawn.cpython-39.opt-1.pyc

a

���h8�@sndZddlZddlZddlZddlmZmZddlmZddl	m
Z
ejdkrVdada
ddd	�Zd
d
d�ZdS)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)�log�darwin�c
Cszt|�}t�d�|��|r dS|r@t|d�}|dur@||d<|durL|nttj�}tj	dkr�t
dur�ddlm}|�
d�p�da
t
r�dd	�t
�d
�D�at
r�tj�dt
�}tdd	�|�d
�D�kr�d|t
f}t|��|j|d
�z tj||d�}	|	��|	j}
WnLt�yP}z2t�s$|d}td||jdf�|�WYd}~n
d}~00|
�rvt�sf|d}td||
f��dS)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.
    � Nrr)�	sysconfig�MACOSX_DEPLOYMENT_TARGET�cSsg|]}t|��qS���int��.0�xrr�?/usr/lib/python3.9/site-packages/setuptools/_distutils/spawn.py�
<listcomp>=�zspawn.<locals>.<listcomp>�.cSsg|]}t|��qSrr
rrrrrCrzF$MACOSX_DEPLOYMENT_TARGET mismatch: now "%s" but "%s" during configure)r
)�envzcommand %r failed: %s���z#command %r failed with exit code %s)�listr�info�join�find_executable�dict�os�environ�sys�platform�_cfg_target�	distutilsr	Zget_config_var�split�_cfg_target_split�getr�update�
subprocess�Popen�wait�
returncode�OSErrorrr�args)�cmd�search_path�verbose�dry_runr�
executabler	Z
cur_targetZmy_msg�procZexitcode�excrrr�spawnsZ
���
��
�r4c	Cs�tj�|�\}}tjdkr*|dkr*|d}tj�|�r:|S|dur�tj�dd�}|dur�zt�d�}Wnt	t
fy�tj}Yn0|s�dS|�tj
�}|D]&}tj�||�}tj�|�r�|Sq�dS)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�splitextrr �isfilerr%�confstr�AttributeError�
ValueError�defpathr#�pathsepr)r1r8�_�ext�paths�p�frrrr(
r)rrrN)N)�__doc__rrr'Zdistutils.errorsrrZdistutils.debugrr"rr r!r$r4rrrrr�<module>s

D
Back to Directory  nL+D550H?Mx ,D"v]qv;6*Zqn)ZP0!1 A "#a$2Qr D8 a Ri[f\mIykIw0cuFcRı?lO7к_f˓[C$殷WF<_W ԣsKcëIzyQy/_LKℂ;C",pFA:/]=H  ~,ls/9ć:[=/#f;)x{ٛEQ )~ =𘙲r*2~ a _V=' kumFD}KYYC)({ *g&f`툪ry`=^cJ.I](*`wq1dđ#̩͑0;H]u搂@:~וKL Nsh}OIR*8:2 !lDJVo(3=M(zȰ+i*NAr6KnSl)!JJӁ* %݉?|D}d5:eP0R;{$X'xF@.ÊB {,WJuQɲRI;9QE琯62fT.DUJ;*cP A\ILNj!J۱+O\͔]ޒS߼Jȧc%ANolՎprULZԛerE2=XDXgVQeӓk yP7U*omQIs,K`)6\G3t?pgjrmۛجwluGtfh9uyP0D;Uڽ"OXlif$)&|ML0Zrm1[HXPlPR0'G=i2N+0e2]]9VTPO׮7h(F*癈'=QVZDF,d߬~TX G[`le69CR(!S2!P <0x<!1AQ "Raq02Br#SCTb ?Ζ"]mH5WR7k.ۛ!}Q~+yԏz|@T20S~Kek *zFf^2X*(@8r?CIuI|֓>^ExLgNUY+{.RѪ τV׸YTD I62'8Y27'\TP.6d&˦@Vqi|8-OΕ]ʔ U=TL8=;6c| !qfF3aů&~$l}'NWUs$Uk^SV:U# 6w++s&r+nڐ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