관리-도구
편집 파일: popen_fork.cpython-311.opt-2.pyc
� c��fI � �D � d dl Z d dlZddlmZ dgZ G d� de� � ZdS )� N� )�util�Popenc �X � e Zd ZdZd� Zd� Zej fd�Zdd�Z d� Z d� Zd � Zd � Z d� ZdS ) r �forkc �r � t j � � d | _ d | _ | � |� � d S �N)r �_flush_std_streams� returncode� finalizer�_launch)�self�process_objs �A/opt/alt/python311/lib64/python3.11/multiprocessing/popen_fork.py�__init__zPopen.__init__ s7 � ���!�!�!����������[�!�!�!�!�!� c � � |S r � )r �fds r �duplicate_for_childzPopen.duplicate_for_child s � �� r c �� � | j �T t j | j |� � \ }}n# t $ r Y d S w xY w|| j k rt j |� � | _ | j S r )r �os�waitpid�pid�OSError�waitstatus_to_exitcode)r �flagr �stss r �pollz Popen.poll ss � ��?�"� ��:�d�h��5�5���S�S��� � � � �t�t� ���� �d�h���"$�";�C�"@�"@�����s �'