twisted.internet.endpoints.ProcessEndpoint(object) class documentationtwisted.internet.endpoints
View Source
(View In Hierarchy)
Implements interfaces: twisted.internet.interfaces.IStreamClientEndpoint
An endpoint for child processes
| Present Since | 13.1 | |
| Method | __init__ | See IReactorProcess.spawnProcess. |
| Method | connect | Implement IStreamClientEndpoint.connect
to launch a child process and connect it to a protocol created by
protocolFactory. |
| Instance Variable | _spawnProcess | A hook used for testing the spawning of child process. |
See IReactorProcess.spawnProcess.
| Parameters | errFlag | Determines if stderr should be logged. (type: endpoints.StandardErrorBehavior) |
Implement IStreamClientEndpoint.connect
to launch a child process and connect it to a protocol created by
protocolFactory.
| Parameters | protocolFactory | A factory for an IProtocol
provider which will be notified of all events related to the created
process. |