Unsupported: Implement CWD column

This commit is contained in:
Benny Baumann 2021-05-25 19:14:45 +02:00
parent 8420df62eb
commit c752c542fe
1 changed files with 4 additions and 0 deletions

View File

@ -50,6 +50,10 @@ void ProcessList_goThroughEntries(ProcessList* super, bool pauseProcessUpdate) {
Process_updateCmdline(proc, "<unsupported architecture>", 0, 0); Process_updateCmdline(proc, "<unsupported architecture>", 0, 0);
Process_updateExe(proc, "/path/to/executable"); Process_updateExe(proc, "/path/to/executable");
if (proc->settings->flags & PROCESS_FLAG_CWD) {
proc->procCwd = "/current/working/directory";
}
proc->updated = true; proc->updated = true;
proc->state = 'R'; proc->state = 'R';