관리-도구
편집 파일: popen_spawn_posix.cpython-38.pyc
U e5d� � @ 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.8/multiprocessing/popen_spawn_posix.py�__init__ s z_DupFd.__init__c C s | j S r 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� �|� d S r )�_fds�superr )r �process_obj�� __class__r r r s zPopen.__init__c C s | j �|� |S r )r �appendr r r r �duplicate_for_child"