HEX
Server: Apache/2.4.57 (Unix) OpenSSL/1.0.2k-fips
System: Linux sv2.tribox.net.br 3.10.0-1160.102.1.el7.x86_64 #1 SMP Tue Oct 17 15:42:21 UTC 2023 x86_64
User: bucalon (1051)
PHP: 8.2.13
Disabled: system,exec,shell_exec,popen,passthru,proc_open,posix_getpwnam,posix_getpwuid,posix_kill,pcntl_fork,escapeshellarg,escapeshellcmd,proc_close,dl,show_source,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname,pcntl_exec,expect_popen,pcntl_signal_get_handler,pcntl_async_signals,link,symlink,syslog,ld,mb_send_mail,imap_open,imap_mail,libvirt_connect,gnupg_init,stream_socket_sendto,stream_socket_client,parse_ini_file,curl_multi_exec
Upload Files
File: //usr/lib64/python3.6/multiprocessing/__pycache__/popen_spawn_posix.cpython-36.opt-2.pyc
3


 \p�@spddlZddlZddlmZmZddlmZddlmZddlmZdgZ	Gdd	�d	e
�ZGd
d�dej�ZdS)�N�)�	reduction�set_spawning_popen)�
popen_fork)�spawn)�util�Popenc@seZdZdd�Zdd�ZdS)�_DupFdcCs
||_dS)N)�fd)�selfr
�r�9/usr/lib64/python3.6/multiprocessing/popen_spawn_posix.py�__init__sz_DupFd.__init__cCs|jS)N)r
)rrrr
�detachsz
_DupFd.detachN)�__name__�
__module__�__qualname__rrrrrr
r	sr	cs4eZdZdZeZ�fdd�Zdd�Zdd�Z�Z	S)rrcsg|_t�j|�dS)N)�_fds�superr)r�process_obj)�	__class__rr
rszPopen.__init__cCs|jj|�|S)N)r�append)rr
rrr
�duplicate_for_child"szPopen.duplicate_for_childc
Cs@ddlm}|j�}|jj|�tj|j�}tj	�}t
|�ztj||�tj||�Wdt
d�Xd}}}}	z~t
j�\}}t
j�\}}	tj||d�}
|jj||g�tjtj�|
|j�|_||_t|	ddd��}|j|j��WdQRXWd|dk	�rtj|t
j|f�x(|||	fD]}|dk	�rt
j|��qWXdS)Nr)�semaphore_tracker)�
tracker_fdZpipe_handle�wbF)�closefd)�rZgetfdrrrZget_preparation_data�_name�io�BytesIOrr�dump�os�pipeZget_command_line�extendrZspawnv_passfdsZget_executable�pid�sentinel�open�write�	getbufferZFinalize�close)
rrrrZ	prep_data�fpZparent_rZchild_wZchild_rZparent_w�cmd�fr
rrr
�_launch&s6



z
Popen._launch)
rrr�methodr	ZDupFdrrr.�
__classcell__rr)rr
rs
)
rr"�contextrrrrrr�__all__�objectr	rrrrr
�<module>s