← Back
Editing: popen_spawn.cpython-311.pyc
� ��!^ � � � d Z ddlZddlZddlZddlZddlZddlZddlZ ddlm Z m Z n# e$ r ddl m Z m Z Y nw xY wddlm Z mZ ddlmZ ddlmZ G d� d e � � ZdS ) zJProvides an interface like pexpect.spawn interface using subprocess.Popen � N)�Queue�Empty� )� SpawnBase�PY3)�EOF)�string_typesc �b � � e Zd Z d� fd� ZdZd� Zd� Zd � Zd � Zd� Z dd �Z d� Zd� Zd� Z � xZS )� PopenSpawn� �� N�strictc �� �� t t | � � � |||||| �� � |�%t j � d� � | _ n$| � t j � � | _ t dt j t j t j || |�� � }t j dk rAt j � � }|xj t j z c_ ||d<