
    +aV                     6    d dl mZmZmZmZ ddZ	 ddZddZy)    )PseudoTerminalRunOperationExecOperationexec_createNc           	      \    t        | ||||||      }t        | |      j                          y)z
    Present the PTY of the container inside the current process.

    This is just a wrapper for PseudoTerminal(client, container).start()
    )interactivestdoutstderrstdinlogsN)r   r   start)client	containerr   r	   r
   r   r   	operations           4/usr/lib/python3/dist-packages/dockerpty/__init__.pyr   r      s4     VYKPV$*%dDI 69%++-    c                 x    t        | |||      }t        | |||||      }t        | |      j                          y)z
    Run provided command via exec API in provided container.

    This is just a wrapper for PseudoTerminal(client, container).exec_command()
    )r   r   r	   r
   r   N)r   r   r   r   )	r   r   commandr   r	   r
   r   exec_idr   s	            r   exec_commandr   !   s@     &)W+NGfg*5fV[`bI69%++-r   c                 Z    t        | |||||      }t        | |      j                          y )Nr   )r   r   r   )r   r   r   r	   r
   r   r   s          r   
start_execr   /   s.    fg*5fV[`bI69%++-r   )TNNNN)TNNN)dockerpty.ptyr   r   r   r   r   r   r    r   r   <module>r      s$   " S R
. W[..r   