File "popen_spawn_win32.cpython-37.opt-2.pyc"

Full Path: /home/attunedd/public_html/byp/izo/con7ext_sym404/rintoar.txt/opt/alt/python37/lib64/python3.7/multiprocessing/__pycache__/popen_spawn_win32.cpython-37.opt-2.pyc
File size: 3.23 KB
MIME-type: text/x-bytecode.python
Charset: 8 bit

B

YI~d@sddlZddlZddlZddlZddlZddlmZmZmZddl	m
Z
ddl	mZdgZdZ
ejdkoreed	d
ZejdZdd
ZeedoeejejZddZGdddeZdS)N)	reductionget_spawning_popenset_spawning_popen)spawn)utilPopeniwin32frozenFzpythonservice.execCs ||kptj|tj|kS)N)ospathnormcase)Zp1Zp2rF/opt/alt/python37/lib64/python3.7/multiprocessing/popen_spawn_win32.py_path_eqsr_base_executablecGsx|D]}t|qWdS)N)_winapiCloseHandle)Zhandleshandlerrr_close_handless
rc@sFeZdZdZddZddZdddZd	d
ZddZeZ	d
dZ
dS)rrcCsPt|j}tdd\}}t|d}tjt	|d}d
dd|D}t}trt
|tjrtj}tj}tj|d<nd}t|ddd	}	y0t||ddd
d|dd	\}
}}}
t|Wnt|YnX||_d|_|
|_t|
|_t|tj|jf|_t|zt ||	t ||	WdtdXWdQRXdS)Nr)Z
parent_pidZpipe_handle css|]}d|VqdS)z"%s"Nr).0xrrr	<genexpr>6sz!Popen.__init__.<locals>.<genexpr>__PYVENV_LAUNCHER__wbT)closefdF)!rZget_preparation_data_namerZ
CreatePipemsvcrtZopen_osfhandleZget_command_linergetpidjoinZget_executableWINENVrsys
executablerenvironcopyopenZ
CreateProcessrpid
returncode_handleintsentinelrZFinalize	finalizerrrdump)selfZprocess_objZ	prep_dataZrhandleZwhandleZwfdcmdZ
python_exeenvZto_childZhpZhtr'tidrrr__init__-s>



zPopen.__init__cCst||jS)N)rZ	duplicater+)r.rrrrduplicate_for_child]szPopen.duplicate_for_childNcCst|jdkrn|dkrtj}ntdt|dd}tt|j|}|tjkrnt|j}|t	krht
j}||_|jS)Nrig?)r(rZINFINITEmaxr*ZWaitForSingleObjectr)Z
WAIT_OBJECT_0ZGetExitCodeProcess	TERMINATEsignalSIGTERM)r.timeoutZmsecsZrescoderrrwaitas

z
Popen.waitcCs|jddS)Nr)r8)r:)r.rrrpollqsz
Popen.pollcCsL|jdkrHytt|jtWn&tk
rF|jdddkrBYnXdS)Ng?)r8)r(rZTerminateProcessr*r)r5OSErrorr:)r.rrr	terminatets
zPopen.terminatecCs|dS)N)r,)r.rrrclose~szPopen.close)N)__name__
__module____qualname__methodr2r3r:r;r=killr>rrrrr's0
)rrr6r"rcontextrrrrr__all__r5platformgetattrZWINEXEr#lowerendswithZ
WINSERVICErhasattrrr!robjectrrrrr<module>s