class documentation
class Process:
Constructor: Process(uid, gid)
Implements interfaces: twisted.application.service.IProcess
Process running parameters.
Sets up uid/gid in the constructor, and has a default of None
as processName.
Method | __init__ |
Set uid and gid. |
Class Variable | process |
A str giving the name the process should have in ps (or None to leave the name alone). |
Instance Variable | gid |
An int giving the group id as which the process should run (or None to leave the GID alone). |
Instance Variable | uid |
An int giving the user id as which the process should run (or None to leave the UID alone). |
Set uid and gid.
Parameters | |
uid | The user ID as whom to execute the process. If this is None , no attempt will be made to change the UID. |
gid | The group ID as whom to execute the process. If this is None , no attempt will be made to change the GID. |
processName =
¶
A str giving the name the process should have in ps (or None
to leave the name alone).
gid =
¶
An int giving the group id as which the process should run (or None
to leave the GID alone).