File: //proc/self/root/lib/python3/dist-packages/twisted/internet/__pycache__/_posixstdio.cpython-38.pyc
U
��W[O � @ sx d Z ddlmZ ddlmZmZmZ ddlmZm Z eej
�G dd� de��Zeej
ejejej�G dd� de��Zd S )
z�Standard input/out/err support.
Future Plans::
support for stderr, perhaps
Rewrite to use the reactor instead of an ad-hoc mechanism for connecting
protocols to transport.
Maintainer: James Y Knight
� )�implementer)�process�error�
interfaces)�log�failurec @ s e Zd ZdS )�PipeAddressN)�__name__�
__module__�__qualname__� r r �>/usr/lib/python3/dist-packages/twisted/internet/_posixstdio.pyr s r c @ s� e Zd ZdZdZdZdZd+dd�Zdd� Zd d
� Z dd� Z
d
d� Zdd� Zdd� Z
dd� Zdd� Zdd� Zdd� Zdd� Zdd� Zdd � Zd!d"� Zd#d$� Zd%d&� Zd'd(� Zd)d*� ZdS ),�
StandardIONFr � c C sX |d krddl m} || _t�|| d|�| _t�|| d|�| _| j�� | j� | � d S )Nr )�reactor�write�read)
�twisted.internetr �protocolr Z
ProcessWriter�_writerZ
ProcessReader�_reader�startReadingZmakeConnection)�self�proto�stdin�stdoutr r r r
�__init__"