Go to the latest version of this document.
search in docstrings

Search bar offers the following options:

- Term presence. The below example searches for documents that must contain “foo”, might contain “bar” and must not contain “baz”: `+foo bar -baz`
- Wildcards. The below example searches for documents with words beginning with “foo”: `foo*`
- Search in specific fields. The following search matches all objects in "twisted.mail" that matches “search”: `+qname:twisted.mail.* +search`

  Possible fields: 'name', 'qname' (fully qualified name), 'docstring', and 'kind'. Last two fields are only applicable if "search in docstrings" is enabled.

- Fuzzy matches. The following search matches all documents that have a word within 1 edit distance of “foo”: `foo~1`

Results provided by Lunr.js

# ``twisted`.`internet`.`endpoints`.`ProcessEndpoint``

class documentation

`class ProcessEndpoint: (source)`

Implements interfaces: `twisted.internet.interfaces.IStreamClientEndpoint`

View In Hierarchy

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
reactor | Undocumented
executable | Undocumented
args | Undocumented
env | Undocumented
path | Undocumented
uid | Undocumented
gid | Undocumented
usePTY | Undocumented
childFDs | Undocumented
errFlag:`endpoints.StandardErrorBehavior` | Determines if stderr should be logged.

def connect(self, protocolFactory): (source)
from `twisted.internet.interfaces.IStreamClientEndpoint`

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.

_args = (source)

Undocumented

_childFDs = (source)

Undocumented

_env = (source)

Undocumented

_errFlag = (source)

Undocumented

_executable = (source)

Undocumented

_gid = (source)

Undocumented

_path = (source)

Undocumented

_reactor = (source)

Undocumented

_spawnProcess = (source)

A hook used for testing the spawning of child process.

_uid = (source)

Undocumented

_usePTY = (source)

Undocumented