%PDF- %PDF-
Direktori : /lib/python3/dist-packages/twisted/internet/__pycache__/ |
Current File : //lib/python3/dist-packages/twisted/internet/__pycache__/_dumbwin32proc.cpython-312.pyc |
� Ϫ�f(1 � �R � d Z ddlZddlZddlmZ ddlZddlZddlZddlZddl Z ddl Z ddlZddlZddl mZmZ ddlmZ ddlmZmZmZ ddlmZ ej0 � Zde_ d � Z G d � dej8 � Zd� Zd � Z eeee� G d� dej@ e� � Z!y)z< Windows Process Management, used with reactor.spawnProcess � N)�implementer)�_pollingfile�error)�BaseProcess)� IConsumer�IProcessTransport� IProducer)�quoteArguments� c �V � t | � t j j � y �N)�print�sys�stdout�flush)�msgs �A/usr/lib/python3/dist-packages/twisted/internet/_dumbwin32proc.py�debugr $ s � � �#�J��J�J���� c � � e Zd Zd� Zd� Zy)�_Reaperc � � || _ y r )�proc)�selfr s r �__init__z_Reaper.__init__* s � ��� r c �$ � t j | j j d� t j k7 ryt j | j j � }| j � | j j |� y�Nr ) � win32event�WaitForSingleObjectr �hProcess� WAIT_OBJECT_0�win32process�GetExitCodeProcess� deactivate�processEnded)r �exitCodes r � checkWorkz_Reaper.checkWork- sh � ��*�*�4�9�9�+=�+=�q�A��'�'� (� ��2�2�4�9�9�3E�3E�F������� � ���x�(�r N)�__name__� __module__�__qualname__r r'