← back to Atmos Game

assets/gen/.venv/lib/python3.12/site-packages/anyio/abc/__pycache__/_subprocesses.cpython-312.pyc

40 lines

�

c�bj��Z�ddlmZddlmZddlmZddlmZddlm	Z	m
Z
Gd�de�Zy	)
�)�annotations)�abstractmethod)�Signals�)�
AsyncResource)�ByteReceiveStream�ByteSendStreamc���eZdZdZedd��Zed
d��Zed
d��Zedd��Ze	edd���Z
e	edd���Ze	edd���Ze	edd	���Z
e	edd
���Zy)�Processz5An asynchronous version of :class:`subprocess.Popen`.c��K�y�w)z^
        Wait until the process exits.

        :return: the exit code of the process
        N���selfs �n/Users/macstudio3/Projects/atmos-game/assets/gen/.venv/lib/python3.12/site-packages/anyio/abc/_subprocesses.py�waitzProcess.wait
s����s�c��y)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
rs r�	terminatezProcess.terminate���c��y)z�
        Kills the process.

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

        .. seealso:: :meth:`subprocess.Popen.kill`
        Nr
rs r�killzProcess.kill rrc��y)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_signalzProcess.send_signal+rrc��y)zThe process ID of the process.Nr
rs r�pidzProcess.pid5rrc��y)zw
        The return code of the process. If the process has not yet terminated, this will
        be ``None``.
        Nr
rs r�
returncodezProcess.returncode:rrc��y)z1The stream for the standard input of the process.Nr
rs r�stdinz
Process.stdinBrrc��y)z2The stream for the standard output of the process.Nr
rs r�stdoutzProcess.stdoutGrrc��y)z8The stream for the standard error output of the process.Nr
rs r�stderrzProcess.stderrLrrN)�return�int)r%�None)rrr%r')r%z
int | None)r%zByteSendStream | None)r%zByteReceiveStream | None)�__name__�
__module__�__qualname__�__doc__rrrrr�propertyrrr r"r$r
rrrr
s���?�������������������-���-���������@���@���A���A���G���GrrN)�
__future__r�abcrrr�
_resourcesr�_streamsrr	rr
rr�<module>r1s$��"���%�7�EG�m�EGr