💾 Archived View for tris.fyi › pydoc › asyncio.subprocess captured on 2023-01-29 at 03:54:06. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2022-07-16)

🚧 View Differences

-=-=-=-=-=-=-

Back to module index

Go to module by name

asyncio

asyncio.subprocess

This module has no docstring.

Classes

Process

communicate(self, input=None)
kill(self)
send_signal(self, signal)
terminate(self)
wait(self)

  Wait until the process exit and return the process return code.
returncode = <property object at 0x7f75e30847c0>

SubprocessStreamProtocol

Like StreamReaderProtocol, but for a subprocess.
connection_lost(self, exc)
connection_made(self, transport)
data_received(self, data)

  Called when some data is received.

          The argument is a bytes object.
        
eof_received(self)

  Called when the other end calls write_eof() or equivalent.

          If this returns a false value (including None), the transport
          will close itself.  If it returns a true value, closing the
          transport is up to the protocol.
        
pause_writing(self)
pipe_connection_lost(self, fd, exc)
pipe_data_received(self, fd, data)
process_exited(self)
resume_writing(self)

Functions

create_subprocess_exec

create_subprocess_exec(program, *args, stdin=None, stdout=None, stderr=None, limit=65536, **kwds)

create_subprocess_shell

create_subprocess_shell(cmd, stdin=None, stdout=None, stderr=None, limit=65536, **kwds)

Other members

DEVNULL = -3
PIPE = -1
STDOUT = -2
logger = <Logger asyncio (INFO)>

Modules

events

protocols

streams

subprocess

tasks