From c752c542fed7f6a66c4e2828e0e98f399d3c880e Mon Sep 17 00:00:00 2001 From: Benny Baumann Date: Tue, 25 May 2021 19:14:45 +0200 Subject: Unsupported: Implement CWD column --- unsupported/UnsupportedProcessList.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'unsupported') diff --git a/unsupported/UnsupportedProcessList.c b/unsupported/UnsupportedProcessList.c index 119c9c3e..753f83b3 100644 --- a/unsupported/UnsupportedProcessList.c +++ b/unsupported/UnsupportedProcessList.c @@ -50,6 +50,10 @@ void ProcessList_goThroughEntries(ProcessList* super, bool pauseProcessUpdate) { Process_updateCmdline(proc, "", 0, 0); Process_updateExe(proc, "/path/to/executable"); + if (proc->settings->flags & PROCESS_FLAG_CWD) { + proc->procCwd = "/current/working/directory"; + } + proc->updated = true; proc->state = 'R'; -- cgit v1.2.3