twisted.internet.interfacesView Source (View In Hierarchy)
Known subclasses: twisted.internet.endpoints._IProcessTransportWithConsumerAndProducer
Known implementations: twisted.internet._dumbwin32proc.Process, twisted.internet.process.Process, twisted.internet.process.PTYProcess
A process transport.
|Method||closeStdin||Close stdin after all data has been written out.|
|Method||closeChildFD||Close a file descriptor which is connected to the child process, identified by its FD in the child process.|
|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 non-blocking fashion.|
|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 connection.|
is called to before
pid is an
giving the platform process ID of this process.
at all other times.
Close stdin after all data has been written out.
Close a file descriptor which is connected to the child process, identified by its FD in the child process.
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: |
|data||The bytes to write. (type: |
Close stdin, stderr and stdout.
Send a signal to the process.
|Raises||twisted.internet.error.ProcessExitedAlready||If the process has already exited.|
|OSError||If the |