asyncio.BaseTransport.close()

close(self) Close the transport. If the transport has a buffer for outgoing data, buffered data will be flushed asynchronously. No more data will be received. After all buffered data is flushed, the protocol’s connection_lost() method will be called with None as its argument.

asyncio.BaseTransport

class asyncio.BaseTransport Base class for transports. close(self) Close the transport. If the transport has a buffer for outgoing data, buffered data will be flushed asynchronously. No more data will be received. After all buffered data is flushed, the protocol’s connection_lost() method will be called with None as its argument. is_closing(self) Return True if the transport is closing or is closed. New in version 3.5.1. get_extra_info(name, default=None) Return optional tra

asyncio.BaseSubprocessTransport.terminate()

terminate() Ask the subprocess to stop, as in subprocess.Popen.terminate(). This method is an alias for the close() method. On POSIX systems, this method sends SIGTERM to the subprocess. On Windows, the Windows API function TerminateProcess() is called to stop the subprocess.

asyncio.BaseSubprocessTransport.send_signal()

send_signal(signal) Send the signal number to the subprocess, as in subprocess.Popen.send_signal().

asyncio.BaseSubprocessTransport.kill()

kill(self) Kill the subprocess, as in subprocess.Popen.kill(). On POSIX systems, the function sends SIGKILL to the subprocess. On Windows, this method is an alias for terminate().

asyncio.BaseSubprocessTransport.get_returncode()

get_returncode() Return the subprocess returncode as an integer or None if it hasn’t returned, similarly to the subprocess.Popen.returncode attribute.

asyncio.BaseSubprocessTransport.get_pipe_transport()

get_pipe_transport(fd) Return the transport for the communication pipe corresponding to the integer file descriptor fd: 0: readable streaming transport of the standard input (stdin), or None if the subprocess was not created with stdin=PIPE 1: writable streaming transport of the standard output (stdout), or None if the subprocess was not created with stdout=PIPE 2: writable streaming transport of the standard error (stderr), or None if the subprocess was not created with stderr=PIPE ot

asyncio.BaseSubprocessTransport.get_pid()

get_pid() Return the subprocess process id as an integer.

asyncio.BaseSubprocessTransport.close()

close() Ask the subprocess to stop by calling the terminate() method if the subprocess hasn’t returned yet, and close transports of all pipes (stdin, stdout and stderr).

asyncio.BaseSubprocessTransport

class asyncio.BaseSubprocessTransport get_pid() Return the subprocess process id as an integer. get_pipe_transport(fd) Return the transport for the communication pipe corresponding to the integer file descriptor fd: 0: readable streaming transport of the standard input (stdin), or None if the subprocess was not created with stdin=PIPE 1: writable streaming transport of the standard output (stdout), or None if the subprocess was not created with stdout=PIPE 2: writable streaming