set_process_title
Set the :command:ps name for the currently running process.
Only works if :pypi:setproctitle is installed.
def set_process_title(
progname: string,
info: string = null
) - > string
Set the :command:ps name for the currently running process. Only works if :pypi:setproctitle is installed.
Parameters
| Name | Type | Description |
|---|---|---|
| progname | string | The base name of the program to display in the process list |
| info | string = null | Additional status information or context to append to the process title |
Returns
| Type | Description |
|---|---|
string | The formatted process title string that was attempted to be set, including the program name and optional info |