Your IP : 3.138.134.106
3
\p � @ sp d dl Z d dlZddlmZmZ ddlmZ ddlmZ ddlmZ dgZ G dd � d e
�ZG d
d� dej�ZdS )� N� )� reduction�set_spawning_popen)�
popen_fork)�spawn)�util�Popenc @ s e Zd Zdd� Zdd� ZdS )�_DupFdc C s
|| _ d S )N)�fd)�selfr
� r �9/usr/lib64/python3.6/multiprocessing/popen_spawn_posix.py�__init__ s z_DupFd.__init__c C s | j S )N)r
)r r r r
�detach s z
_DupFd.detachN)�__name__�
__module__�__qualname__r r r r r r
r s r c s4 e Zd ZdZeZ� fdd�Zdd� Zdd� Z� Z S )r r c s g | _ t� j|� d S )N)�_fds�superr )r �process_obj)� __class__r r
r s zPopen.__init__c C s | j j|� |S )N)r �append)r r
r r r
�duplicate_for_child"