§
    PCÄjK  ã                  ór   — d dl mZ d dlmZ d dlmZ d dlmZ ddlm	Z	 erddl
mZmZ  G d„ d	e	¦  «        Zd
S )é    )Úannotations)Úabstractmethod)ÚSignals)ÚTYPE_CHECKINGé   )ÚAsyncResource)ÚByteReceiveStreamÚByteSendStreamc                  ó:  — e Zd ZdZedd„¦   «         Zedd„¦   «         Zedd„¦   «         Zedd
„¦   «         Ze	edd„¦   «         ¦   «         Z
e	edd„¦   «         ¦   «         Ze	edd„¦   «         ¦   «         Ze	edd„¦   «         ¦   «         Ze	edd„¦   «         ¦   «         ZdS )ÚProcessz5An asynchronous version of :class:`subprocess.Popen`.ÚreturnÚintc              ƒ  ó
   K  — dS )z^
        Wait until the process exits.

        :return: the exit code of the process
        N© ©Úselfs    ú[C:\Projects\Historical\FacebookAutoPoster\venv\Lib\site-packages\anyio/abc/_subprocesses.pyÚwaitzProcess.wait   s
   è è € € € ó    ÚNonec                ó   — dS )zó
        Terminates the process, gracefully if possible.

        On Windows, this calls ``TerminateProcess()``.
        On POSIX systems, this sends ``SIGTERM`` to the process.

        .. seealso:: :meth:`subprocess.Popen.terminate`
        Nr   r   s    r   Ú	terminatezProcess.terminate   ó   € € € r   c                ó   — dS )zÑ
        Kills the process.

        On Windows, this calls ``TerminateProcess()``.
        On POSIX systems, this sends ``SIGKILL`` to the process.

        .. seealso:: :meth:`subprocess.Popen.kill`
        Nr   r   s    r   ÚkillzProcess.kill#   r   r   Úsignalr   c                ó   — dS )z´
        Send a signal to the subprocess.

        .. seealso:: :meth:`subprocess.Popen.send_signal`

        :param signal: the signal number (e.g. :data:`signal.SIGHUP`)
        Nr   )r   r   s     r   Úsend_signalzProcess.send_signal.   r   r   c                ó   — dS )zThe process ID of the process.Nr   r   s    r   ÚpidzProcess.pid8   r   r   ú
int | Nonec                ó   — dS )zw
        The return code of the process. If the process has not yet terminated, this will
        be ``None``.
        Nr   r   s    r   Ú
returncodezProcess.returncode=   r   r   úByteSendStream | Nonec                ó   — dS )z1The stream for the standard input of the process.Nr   r   s    r   ÚstdinzProcess.stdinE   r   r   úByteReceiveStream | Nonec                ó   — dS )z2The stream for the standard output of the process.Nr   r   s    r   ÚstdoutzProcess.stdoutJ   r   r   c                ó   — dS )z8The stream for the standard error output of the process.Nr   r   s    r   ÚstderrzProcess.stderrO   r   r   N)r   r   )r   r   )r   r   r   r   )r   r!   )r   r$   )r   r'   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   r   r   r   r   Úpropertyr    r#   r&   r)   r+   r   r   r   r   r      sx  € € € € € Ø?Ð?àðð ð ñ „^ðð ðð ð ñ „^ðð ðð ð ñ „^ðð ðð ð ñ „^ðð Øð-ð -ð -ñ „^ñ „Xð-ð Øðð ð ñ „^ñ „Xðð Øð@ð @ð @ñ „^ñ „Xð@ð ØðAð Að Añ „^ñ „XðAð ØðGð Gð Gñ „^ñ „XðGð Gð Gr   r   N)Ú
__future__r   Úabcr   r   r   Útypingr   Ú
_resourcesr   Ú_streamsr	   r
   r   r   r   r   ú<module>r6      sÇ   ðØ "Ð "Ð "Ð "Ð "Ð "à Ð Ð Ð Ð Ð Ø Ð Ð Ð Ð Ð Ø  Ð  Ð  Ð  Ð  Ð  à %Ð %Ð %Ð %Ð %Ð %àð <Ø;Ð;Ð;Ð;Ð;Ð;Ð;Ð;ðEGð EGð EGð EGð EGˆmñ EGô EGð EGð EGð EGr   