]L itddlmZddlZddlmcmZddlm Z ddl m Z ddl m Z ddlmZmZGdd e Zy) ) annotationsN)abstractmethod)Signals) AsyncResource)ByteReceiveStreamByteSendStreamceZdZdZed dZed dZed dZeddZe ed dZ e eddZ e eddZ e edd Z e edd Zy )Processz5An asynchronous version of :class:`subprocess.Popen`.c Kyw)z^ Wait until the process exits. :return: the exit code of the process Nselfs ]/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/anyio/abc/_subprocesses.pywaitz Process.wait sscy)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.terminatecy)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 rkillz Process.kill rrcy)z Send a signal to the subprocess. .. seealso:: :meth:`subprocess.Popen.send_signal` :param signal: the signal number (e.g. :data:`signal.SIGHUP`) Nr )rsignals r send_signalzProcess.send_signal+rrcy)zThe process ID of the process.Nr rs rpidz Process.pid5rrcy)zw The return code of the process. If the process has not yet terminated, this will be ``None``. Nr rs r returncodezProcess.returncode:rrcy)z1The stream for the standard input of the process.Nr rs rstdinz Process.stdinBrrcy)z2The stream for the standard output of the process.Nr rs rstdoutzProcess.stdoutGrrcy)z8The stream for the standard error output of the process.Nr rs rstderrzProcess.stderrLrrN)returnint)r%None)rrr%r')r%z int | None)r%zByteSendStream | None)r%zByteReceiveStream | None)__name__ __module__ __qualname____doc__rrrrrpropertyrrr r"r$r rrr r s?        --  @@AAGGrr ) __future__rbuiltins @py_builtins_pytest.assertion.rewrite assertionrewrite @pytest_arabcrrr _resourcesr_streamsrr r r rrr7s)"%7EGmEGr