Object providing various information and interfaces to interact with system process.
It is not possible to create an instance of this class. 'global.process' is already available.
Return an object with information about the owner of the process.
Object with details about the owner
uid(Integer): User ID
gid(Integer): Group ID
user(String): User name
group(String): Group name
Set a user (and optional a group) to a process.
setOwner function is permitted if the effective user/group name is that of the super user, or if the specified user/group name is the same as the effective user/group name.
On failure this function throws an exception.
(String | Integer): User whom should run this process
(String | Integer): Group whom should run this process
function to start if the process receives a signal
Get the current working directory.
The current path
- Type: Object
The arguments that were set upon construction.
- Type: Integer
The identifier for the current worker.
Caught a mistake or want to contribute to the documentation? Edit this page on GitHub!