.. _asyncio-subprocess-threads:
Subprocess and threads
-======================
+----------------------
asyncio supports running subprocesses from different threads, but there
are limits:
Subprocess examples
-===================
+-------------------
Subprocess using transport and protocol
----------------------------------------
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Example of a subprocess protocol using to get the output of a subprocess and to
wait for the subprocess exit. The subprocess is created by the
Subprocess using streams
-------------------------
+^^^^^^^^^^^^^^^^^^^^^^^^
Example using the :class:`~asyncio.subprocess.Process` class to control the
subprocess and the :class:`StreamReader` class to read from the standard