Back
Type Name Operations
__init__.cpython-38.opt-1.pyc
__init__.cpython-38.opt-2.pyc
__init__.cpython-38.pyc
_msvccompiler.cpython-38.opt-1.pyc
_msvccompiler.cpython-38.opt-2.pyc
_msvccompiler.cpython-38.pyc
archive_util.cpython-38.opt-1.pyc
archive_util.cpython-38.opt-2.pyc
archive_util.cpython-38.pyc
bcppcompiler.cpython-38.opt-1.pyc
bcppcompiler.cpython-38.opt-2.pyc
bcppcompiler.cpython-38.pyc
ccompiler.cpython-38.opt-1.pyc
ccompiler.cpython-38.opt-2.pyc
ccompiler.cpython-38.pyc
cmd.cpython-38.opt-1.pyc
cmd.cpython-38.opt-2.pyc
cmd.cpython-38.pyc
config.cpython-38.opt-1.pyc
config.cpython-38.opt-2.pyc
config.cpython-38.pyc
core.cpython-38.opt-1.pyc
core.cpython-38.opt-2.pyc
core.cpython-38.pyc
cygwinccompiler.cpython-38.opt-1.pyc
cygwinccompiler.cpython-38.opt-2.pyc
cygwinccompiler.cpython-38.pyc
debug.cpython-38.opt-1.pyc
debug.cpython-38.opt-2.pyc
debug.cpython-38.pyc
dep_util.cpython-38.opt-1.pyc
dep_util.cpython-38.opt-2.pyc
dep_util.cpython-38.pyc
dir_util.cpython-38.opt-1.pyc
dir_util.cpython-38.opt-2.pyc
dir_util.cpython-38.pyc
dist.cpython-38.opt-1.pyc
dist.cpython-38.opt-2.pyc
dist.cpython-38.pyc
errors.cpython-38.opt-1.pyc
errors.cpython-38.opt-2.pyc
errors.cpython-38.pyc
extension.cpython-38.opt-1.pyc
extension.cpython-38.opt-2.pyc
extension.cpython-38.pyc
fancy_getopt.cpython-38.opt-1.pyc
fancy_getopt.cpython-38.opt-2.pyc
fancy_getopt.cpython-38.pyc
file_util.cpython-38.opt-1.pyc
file_util.cpython-38.opt-2.pyc
file_util.cpython-38.pyc
filelist.cpython-38.opt-1.pyc
filelist.cpython-38.opt-2.pyc
filelist.cpython-38.pyc
log.cpython-38.opt-1.pyc
log.cpython-38.opt-2.pyc
log.cpython-38.pyc
msvc9compiler.cpython-38.opt-1.pyc
msvc9compiler.cpython-38.opt-2.pyc
msvc9compiler.cpython-38.pyc
msvccompiler.cpython-38.opt-1.pyc
msvccompiler.cpython-38.opt-2.pyc
msvccompiler.cpython-38.pyc
spawn.cpython-38.opt-1.pyc
spawn.cpython-38.opt-2.pyc
spawn.cpython-38.pyc
sysconfig.cpython-38.opt-1.pyc
sysconfig.cpython-38.opt-2.pyc
sysconfig.cpython-38.pyc
text_file.cpython-38.opt-1.pyc
text_file.cpython-38.opt-2.pyc
text_file.cpython-38.pyc
unixccompiler.cpython-38.opt-1.pyc
unixccompiler.cpython-38.opt-2.pyc
unixccompiler.cpython-38.pyc
util.cpython-38.opt-1.pyc
util.cpython-38.opt-2.pyc
util.cpython-38.pyc
version.cpython-38.opt-1.pyc
version.cpython-38.opt-2.pyc
version.cpython-38.pyc
versionpredicate.cpython-38.opt-1.pyc
versionpredicate.cpython-38.opt-2.pyc
versionpredicate.cpython-38.pyc

File Transfer

Upload files to current directory

File Editor: spawn.cpython-38.opt-1.pyc

U e5d@sdZddlZddlZddlmZmZddlmZddlm Z dddZ d d Z dd d Z ej d krjdadadddZdddZdS)zdistutils.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)DistutilsPlatformErrorDistutilsExecError)DEBUG)logcCsNt|}tjdkr"t|||dn(tjdkresz _spawn_posix...cSsg|] }t|qSrr*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 reasonsrrz"command %r terminated by signal %drz1unknown error executing %r: termination status %d)#rrr r execvpexecvsysplatform _cfg_target distutilsr'Zget_config_varsplit_cfg_target_splitenvirongetrdictexecvpeexecveforkr#rstderrwritestrerror_exitwaitpidrr WIFSIGNALEDWTERMSIG WIFEXITED WEXITSTATUS WIFSTOPPED)rrrrr$Zexec_fnenvr'Z cur_targetZmy_msgpideZstatusr%Z exit_statusrrrr Ws           r c Cstj|\}}tjdkr*|dkr*|d}tj|r:|S|dkrtjdd}|dkrztd}Wnt t fk rtj }YnX|sdS| tj }|D]&}tj||}tj|r|SqdS)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. Zwin32z.exeNPATHCS_PATH)r pathsplitextr3r4isfiler9r:confstrAttributeError ValueErrordefpathr7pathsepr )r$rN_Zextpathspfrrrrs(     r)rrr)rrr)rrr)N)__doc__r3r Zdistutils.errorsrrZdistutils.debugrr6rrrrr4r5r8r rrrrrs      R