Register write pipe in event loop. protocol_factory should instantiate object with BaseProtocol interface. Pipe is file-like object already switched to nonblocking. Return pair (transport, protocol), where transport support WriteTransport interface.
(self, protocol_factory, pipe)
| 550 | raise NotImplementedError |
| 551 | |
| 552 | async def connect_write_pipe(self, protocol_factory, pipe): |
| 553 | """Register write pipe in event loop. |
| 554 | |
| 555 | protocol_factory should instantiate object with BaseProtocol interface. |
| 556 | Pipe is file-like object already switched to nonblocking. |
| 557 | Return pair (transport, protocol), where transport support |
| 558 | WriteTransport interface.""" |
| 559 | # The reason to accept file-like object instead of just file descriptor |
| 560 | # is: we need to own pipe and close it at transport finishing |
| 561 | # Can got complicated errors if pass f.fileno(), |
| 562 | # close fd in pipe transport then close f and vice versa. |
| 563 | raise NotImplementedError |
| 564 | |
| 565 | async def subprocess_shell(self, protocol_factory, cmd, *, |
| 566 | stdin=subprocess.PIPE, |
no outgoing calls