class documentation

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

See IReactorProcess.spawnProcess.

Parameters
reactorUndocumented
executableUndocumented
argsUndocumented
envUndocumented
pathUndocumented
uidUndocumented
gidUndocumented
usePTYUndocumented
childFDsUndocumented
errFlag:endpoints.StandardErrorBehaviorDetermines if stderr should be logged.
def connect(self, protocolFactory): (source)

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

Parameters
protocolFactoryA factory for an IProtocol provider which will be notified of all events related to the created process.

Undocumented

_childFDs = (source)

Undocumented

Undocumented

_errFlag = (source)

Undocumented

_executable = (source)

Undocumented

Undocumented

Undocumented

_reactor = (source)

Undocumented

_spawnProcess = (source)

A hook used for testing the spawning of child process.

Undocumented

Undocumented