class documentation

class twisted.internet.endpoints.ProcessEndpoint: (source)

Implements interfaces: twisted.internet.interfaces.IStreamClientEndpoint

View In Hierarchy

An endpoint for child processes

Present Since13.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.
Instance Variable _reactor Undocumented
Instance Variable _executable Undocumented
Instance Variable _args Undocumented
Instance Variable _env Undocumented
Instance Variable _path Undocumented
Instance Variable _uid Undocumented
Instance Variable _gid Undocumented
Instance Variable _usePTY Undocumented
Instance Variable _childFDs Undocumented
Instance Variable _errFlag Undocumented
_spawnProcess = (source)
A hook used for testing the spawning of child process.
def __init__(self, reactor, executable, args=(), env={}, path=None, uid=None, gid=None, usePTY=0, childFDs=None, errFlag=StandardErrorBehavior.LOG): (source)

See IReactorProcess.spawnProcess.

ParametersreactorUndocumented
executableUndocumented
argsUndocumented
envUndocumented
pathUndocumented
uidUndocumented
gidUndocumented
usePTYUndocumented
childFDsUndocumented
errFlagDetermines if stderr should be logged. (type: endpoints.StandardErrorBehavior)
_reactor = (source)

Undocumented

_executable = (source)

Undocumented

_args = (source)

Undocumented

_env = (source)

Undocumented

_path = (source)

Undocumented

_uid = (source)

Undocumented

_gid = (source)

Undocumented

_usePTY = (source)

Undocumented

_childFDs = (source)

Undocumented

_errFlag = (source)

Undocumented

def connect(self, protocolFactory): (source)

Implement IStreamClientEndpoint.connect to launch a child process and connect it to a protocol created by protocolFactory.

ParametersprotocolFactoryA factory for an IProtocol provider which will be notified of all events related to the created process.
API Documentation for Twisted, generated by pydoctor 20.12.1 at 2021-02-28 19:53:36.