Part of twisted.internet.interfaces View Source View In Hierarchy
| Instance Variables | pid | The Process-ID of this process. |
| Method | closeStdin | Close stdin after all data has been written out. |
| Method | closeStdout | Close stdout. |
| Method | closeStderr | Close stderr. |
| Method | closeChildFD | Close a file descriptor which is connected to the child process, identified |
| Method | writeToChild | Similar to ITransport.write
but also allows the file descriptor in
|
| Method | loseConnection | Close stdin, stderr and stdout. |
| Method | signalProcess | Send a signal to the process. |
Inherited from ITransport:
| Method | write | Write some data to the physical connection, in sequence, in a |
| Method | writeSequence | Write a list of strings to the physical connection. |
| Method | getPeer | Get the remote address of this connection. |
| Method | getHost | Similar to getPeer, but returns an address describing this side of the |
Similar to ITransport.write
but also allows the file descriptor in the child process which will
receive the bytes to be specified.
| Parameters | childFD | The file descriptor to which to write.
(type: int
) |
| data | The bytes to write.
(type: str
) | |
| Returns | None
| |
| Parameters | signalID | can be
|
| Raises | twisted.internet.error.ProcessExitedAlready | The process has already exited. |