³ò ”,9Mc @sdZdZddkZddkZddkZddkZddkZddkZddkZddk Z ddk l Z hdd<dds  cCs#titi|d||ƒ}|S(Ni(R tspawnvpetP_WAIT(R R R((s9install/lib/scons-1.2.0.d20100117/SCons/Platform/posix.pyt exec_spawnvpeDscCsÔtiƒ}|p†d}yti|d||ƒWnQtj oE}ti|d|dƒ}tiid|d|dfƒnXti |ƒn8ti |dƒ\}}|d@o |dBSn|d?SdS(Niisscons: %s: %s iiÿi€i( R tforktexecvpetOSErrort exitvalmaptgettsyststderrtwritet_exittwaitpid(R R tpidtexitvalteR((s9install/lib/scons-1.2.0.d20100117/SCons/Platform/posix.pyt exec_forkJs '  cCseti|ƒ}|oKddgt|d„|iƒƒ|d||ƒg}ti|ƒ}n|S(NR t-cSs ||dƒd||dƒS(it=i((ttR((s9install/lib/scons-1.2.0.d20100117/SCons/Platform/posix.pyt`ss-c(RR tmaptitems(tshRtcmdtargsR tsR ((s9install/lib/scons-1.2.0.d20100117/SCons/Platform/posix.pyt_get_env_command\s "cCs"tt|||||ƒg|ƒS(N(RR+(R'RR(R)R ((s9install/lib/scons-1.2.0.d20100117/SCons/Platform/posix.pyt env_spawnescCst|dti|ƒg|ƒS(Ns-c(RRR (R'RR(R)R ((s9install/lib/scons-1.2.0.d20100117/SCons/Platform/posix.pytspawnvpe_spawnhscCst|dti|ƒg|ƒS(Ns-c(R RR (R'RR(R)R ((s9install/lib/scons-1.2.0.d20100117/SCons/Platform/posix.pyt fork_spawnksc Cs#d}}x|o|pyÇti||gggƒ\}}}||joK|iƒ} t| ƒdjo d}qš|dj o|i| ƒqšn||jo:|iƒ} t| ƒdjo d}qá|i| ƒnWq tij o&\} } | tijo‚qq Xq WdS(Nii(tselecttreadtlentNoneRterrorterrnotEINTR( t cmd_stdoutt cmd_stderrtstdoutRt stdout_eoft stderr_eoftitoRtstrt_errnot _strerror((s9install/lib/scons-1.2.0.d20100117/SCons/Platform/posix.pytprocess_cmd_outputns& $       cCsUtiti|ƒd|d|dtƒ}|iƒ}|d@o |dBSn|d?S(NR8Rtshelliÿi€i(t subprocesstPopenRR tTruetwait(R R R8RtprocR((s9install/lib/scons-1.2.0.d20100117/SCons/Platform/posix.pyt exec_popen3…s    cCs8||jo(tiƒ\}}tiƒ\}}ntiƒ\}}|}|}tiƒ}|pùti|ƒ||joti|ƒnti|dƒti|dƒti|ƒ||joti|ƒnd} yti|d||ƒWnNtj oB} ti| d| dƒ} |i d|d| dfƒnXti | ƒnÖti |dƒ\}} ti|ƒ||joti|ƒnti |ƒ} ||joti |ƒ} n| } t | | ||ƒti|ƒ||joti|ƒn| d@o | dBSn| d?SdS( Niiiisscons: %s: %s iÿi€i(R tpipeRtclosetdup2RRRRRRRtfdopenR@(R R R8RtrFdOuttwFdOuttrFdErrtwFdErrRRRRtchildOuttchildErr((s9install/lib/scons-1.2.0.d20100117/SCons/Platform/posix.pytexec_piped_forksL      $       cCs(tt|||||ƒg|||ƒS(N(RGR+(R'RR(R)R R8R((s9install/lib/scons-1.2.0.d20100117/SCons/Platform/posix.pytpiped_env_spawn¿scCs%t|dti|ƒg|||ƒS(Ns-c(RRRR (R'RR(R)R R8R((s9install/lib/scons-1.2.0.d20100117/SCons/Platform/posix.pytpiped_fork_spawnÆscCs^tiidƒo t}n!|idƒo t}nt}|idƒo t}nt}|idƒph|d                     (t__doc__t __revision__R4R tos.pathRRBRR/t SCons.UtiltSConstSCons.PlatformRRRRRR R+R,R-R.R@RGRRRSRTRs(((s9install/lib/scons-1.2.0.d20100117/SCons/Platform/posix.pyss6                  0