
    h                    Z    S SK Jr  S SKJr  S SKJr  SSKJr  SSKJ	r	J
r
   " S S\5      rg	)
    )annotations)abstractmethod)Signals   )AsyncResource)ByteReceiveStreamByteSendStreamc                      \ rS rSrSr\SS j5       r\SS j5       r\SS j5       r\SS j5       r	\
\SS j5       5       r\
\SS j5       5       r\
\SS	 j5       5       r\
\SS
 j5       5       r\
\SS j5       5       rSrg)Process
   z5An asynchronous version of :class:`subprocess.Popen`.c                   #    g7f)zF
Wait until the process exits.

:return: the exit code of the process
N selfs    I/var/www/html/env/lib/python3.13/site-packages/anyio/abc/_subprocesses.pywaitProcess.wait   s     s   c                    g)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   	terminateProcess.terminate           c                    g)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   killProcess.kill    r   r   c                    g)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   signals     r   send_signalProcess.send_signal+   r   r   c                    g)zThe process ID of the process.Nr   r   s    r   pidProcess.pid5   r   r   c                    g)z_
The return code of the process. If the process has not yet terminated, this will
be ``None``.
Nr   r   s    r   
returncodeProcess.returncode:   r   r   c                    g)z1The stream for the standard input of the process.Nr   r   s    r   stdinProcess.stdinB   r   r   c                    g)z2The stream for the standard output of the process.Nr   r   s    r   stdoutProcess.stdoutG   r   r   c                    g)z8The stream for the standard error output of the process.Nr   r   s    r   stderrProcess.stderrL   r   r   r   N)returnint)r/   None)r   r   r/   r1   )r/   z
int | None)r/   zByteSendStream | None)r/   zByteReceiveStream | None)__name__
__module____qualname____firstlineno____doc__r   r   r   r   r   propertyr!   r$   r'   r*   r-   __static_attributes__r   r   r   r   r   
   s    ?        -  -    @  @ A  A G  Gr   r   N)
__future__r   abcr   r   r   
_resourcesr   _streamsr   r	   r   r   r   r   <module>r=      s$    "   % 7EGm EGr   