Adds support for PROC_EXE and CWD.

This commit is contained in:
fraggerfox
2021-06-12 17:07:58 +05:30
committed by BenBE
parent 612462e33d
commit 336acb0309
2 changed files with 56 additions and 0 deletions

View File

@ -195,6 +195,19 @@ const ProcessFieldData Process_fields[LAST_PROCESSFIELD] = {
.description = "comm string of the process",
.flags = 0,
},
[PROC_EXE] = {
.name = "EXE",
.title = "EXE ",
.description = "Basename of exe of the process",
.flags = 0,
},
[CWD] = {
.name = "CWD",
.title = "CWD ",
.description = "The current working directory of the process",
.flags = PROCESS_FLAG_CWD,
},
};
Process* NetBSDProcess_new(const Settings* settings) {