summaryrefslogtreecommitdiffstats
path: root/unsupported
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2021-05-25 19:14:45 +0200
committerBenny Baumann <BenBE@geshi.org>2021-05-25 21:55:04 +0200
commitc752c542fed7f6a66c4e2828e0e98f399d3c880e (patch)
treefcdb444e35d7873cf449262cc64fc08819b2c398 /unsupported
parent8420df62eb99654230f3f95fa23dccc11ea45dee (diff)
Unsupported: Implement CWD column
Diffstat (limited to 'unsupported')
-rw-r--r--unsupported/UnsupportedProcessList.c4
1 files changed, 4 insertions, 0 deletions
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, "<unsupported architecture>", 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';

© 2014-2024 Faster IT GmbH | imprint | privacy policy