class documentation

class Process: (source)

Implements interfaces: twisted.application.service.IProcess

View In Hierarchy

Process running parameters.

Sets up uid/gid in the constructor, and has a default of None as processName.

Class Variable processName A str giving the name the process should have in ps (or None to leave the name alone).
Method __init__ Set uid and gid.
Instance Variable uid An int giving the user id as which the process should run (or None to leave the UID alone).
Instance Variable gid An int giving the group id as which the process should run (or None to leave the GID alone).
processName = (source)

A str giving the name the process should have in ps (or None to leave the name alone).

def __init__(self, uid=None, gid=None): (source)

Set uid and gid.

ParametersuidThe user ID as whom to execute the process. If this is None, no attempt will be made to change the UID.
gidThe group ID as whom to execute the process. If this is None, no attempt will be made to change the GID.

An int giving the user id as which the process should run (or None to leave the UID alone).

An int giving the group id as which the process should run (or None to leave the GID alone).

API Documentation for Twisted, generated by pydoctor 21.2.0 at 2021-02-28 21:00:42.