• File: spawn.cpython-37.opt-2.pyc
  • Full Path: /home3/farmfre2/public_html/ALFA_DATA/alfasymlink/root/opt/alt/python37/lib64/python3.7/distutils/__pycache__/spawn.cpython-37.opt-2.pyc
  • Date Modified: 10/26/2026 8:08 PM
  • File size: 3.73 KB
  • MIME-type: text/x-bytecode.python
  • Charset: 8 bit
B

YI~d@sddlZddlZddlmZmZddlmZddlmZdddZ	dd	Z
dd
dZejdkrrdd
lm
Z
dadadddZdddZdS)N)DistutilsPlatformErrorDistutilsExecError)DEBUG)logcCsNt|}tjdkr"t|||dn(tjdkr<t|||dntdtjdS)Nposix)dry_runntz1don't know how to spawn programs on platform '%s')listosname_spawn_posix	_spawn_ntr)cmdsearch_pathverboserr4/opt/alt/python37/lib64/python3.7/distutils/spawn.pyspawns

rcCs.x(t|D]\}}d|kr
d|||<q
W|S)N z"%s")	enumerate)argsiargrrr_nt_quote_args+src
Cs|d}t|}|r t|p|}td|g|dd|syttj||}Wn@tk
r}z"t	sp|}t
d||jdfWdd}~XYnX|dkrt	s|}t
d||fdS)Nrrrzcommand %r failed: %sz%command %r failed with exit status %d)rfind_executablerinfojoinrspawnvP_WAITOSErrorrrr)rrrr
executableZrcexcrrrr;s$&rdarwin)	sysconfigc
Csttd||rdS|d}|r*tjp.tj}d}tjdkrtdkrlt	
dpRdatrlddtdDatrtj
dt}td	d|dDkrd
|tf}t|ttj
|d}|rtjptj}t}	|	dkrty$|dkr|||n||||WnNtk
rL}
z.ts|}tjd||
jftd
Wdd}
~
XYnXtsX|}tjd|td
nxyt|	d\}	}WnDtk
r}z$ts|}td||jdfWdd}~XYnXt|rts|}td|t|fnlt|r>t |}
|
dkr"dSts,|}td||
fn,t!|rPqvntsZ|}td||fqvWdS)Nrrr$MACOSX_DEPLOYMENT_TARGETcSsg|]}t|qSr)int).0xrrr
<listcomp>esz _spawn_posix.<locals>.<listcomp>.cSsg|]}t|qSr)r()r)r*rrrr+kszF$MACOSX_DEPLOYMENT_TARGET mismatch: now "%s" but "%s" during configure)r&zunable to execute %r: %s
rz(unable to execute %r for unknown reasonszcommand %r failed: %srz"command %r terminated by signal %dz%command %r failed with exit status %dz1unknown error executing %r: termination status %d)"rrrrexecvpexecvsysplatform_cfg_targetr%Zget_config_varsplit_cfg_target_splitenvirongetrdictexecvpeexecveforkr!rstderrwritestrerror_exitwaitpidrrWIFSIGNALEDWTERMSIG	WIFEXITEDWEXITSTATUS
WIFSTOPPED)rrrrr"Zexec_fnenvZ
cur_targetZmy_msgpidestatusr#exit_statusrrrr
Xs



&

r
c	Cstj|\}}tjdkr*|dkr*|d}tj|r:|S|dkrtjdd}|dkrytd}Wnt	t
fk
rtj}YnX|sdS|tj
}x*|D]"}tj||}tj|r|SqWdS)Nwin32z.exePATHCS_PATH)rpathsplitextr/r0isfiler4r5confstrAttributeError
ValueErrordefpathr2pathsepr)r"rL_Zextpathspfrrrrs(
r)rrr)rrr)rrr)N)r/rZdistutils.errorsrrZdistutils.debugrZ	distutilsrrrrr0r%r1r3r
rrrrr<module>	s



Q