
    zbjK                    t    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	  \(       a  SSK
JrJr   " S S	\	5      rg
)    )annotations)abstractmethod)Signals)TYPE_CHECKING   )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    ړ/tmp/claude-0/-home-danvics-docker-quiz/c1e0577a-e42c-4a3d-b1ea-3edd61103a4e/scratchpad/stt/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.pid8   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.stdinE   r   r   c                    g)z2The stream for the standard output of the process.Nr   r   s    r   stdoutProcess.stdoutJ   r   r   c                    g)z8The stream for the standard error output of the process.Nr   r   s    r   stderrProcess.stderrO   r   r   r   N)returnint)r0   None)r   r   r0   r2   )r0   z
int | None)r0   zByteSendStream | None)r0   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   typingr   
_resourcesr   _streamsr	   r
   r   r   r   r   <module>r?      s*    "     %;EGm EGr   