Skip to main content

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​

NameTypeDescription
prognamestringThe base name of the program to display in the process list
infostring = nullAdditional status information or context to append to the process title

Returns​

TypeDescription
stringThe formatted process title string that was attempted to be set, including the program name and optional info