a0bi XSrSSKrSSKrSSKrSSKJr SSKJr SSKJ r S Sjr S Sjr g) 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)DistutilsExecError)DEBUG)logc[U5n[R"[R"U55 U(agU(a[ US5nUbXPS'UbUO[ [R5n[RS:XaSSK J nJ n U"5nU(aXU'[R"XS9n U R5 U R n U (a*[$(dUSn['SR)X 55eg!["a=n [$(dUSn['SR)X R*S55U eSn A ff=f) acRun 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. Nrdarwin)MACOSX_VERSION_VARget_macosx_target_ver)envzcommand {!r} failed: {}z%command {!r} failed with exit code {})listrinfo subprocess list2cmdlinefind_executabledictosenvironsysplatformdistutils.utilr r Popenwait returncodeOSErrorrrformatargs) cmd search_pathverbosedry_runr executabler r macosx_target_verprocexitcodeexcs ڔ/builddir/build/BUILDROOT/alt-python313-setuptools-69.0.2-3.el8.x86_64/opt/alt/python313/lib/python3.13/site-packages/setuptools/_distutils/spawn.pyspawnr(s $ s)CHHZ $ $S )*$SV,  !F#d2::&6C ||xL13 &7" # - ??ua&C 3 : :3 I   ua&C % , ,S((2, ?  s'0D E8E  Ec[RRU5up#[RS:Xa US:waUS-n[RR U5(aU$Uc:[R RSS5nUc[R"S5nU(dgUR[R5nUHJn[RRXP5n[RR U5(dMHUs $ g![[4a [RnNf=f)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. win32z.exeNPATHCS_PATH)rpathsplitextrrisfilergetconfstrAttributeError ValueErrordefpathsplitpathsepjoin)r"r-_extpathspfs r'rrKs WW  j )FA cVm&(  ww~~j!! |zz~~fd+ < "zz),  JJrzz "E  GGLL ' 77>>!  H  !#J/ "zz "sD D?>D?)rrrN)N) __doc__rrrerrorsrdebugr_logrr(rr'rCs) &6 r"rB