diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-10-24 20:21:43 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-10-24 20:21:43 +0200 |
commit | 272317bce27b9def41d0b5f53931bf90abb0bcba (patch) | |
tree | 9d4a8bff0ce1ff1346a783eb3d4c2b3fab7e1b07 /DevTools/HackStudio/Makefile | |
parent | 489e451ccef8c74f521fe1bb84c9f55b11aadd66 (diff) | |
download | serenity-272317bce27b9def41d0b5f53931bf90abb0bcba.zip |
HackStudio: Add a widget showing the state of console's running process
We now have a little widget that sits above the terminal view in the
build/application console. When a child process is running, we show its
PID, name, scheduling counter, and amount of resident memory in a live
little overview.
This is not working right just yet, since we don't know how to get to
the actually active PID on the TTY. Or, well, we find the active PID by
looking at the PGID of our fork()ed child.
This manages to find children spawned by Shell, but not children
spawned by make, for instance. I need to figure out how to find those.
Diffstat (limited to 'DevTools/HackStudio/Makefile')
-rw-r--r-- | DevTools/HackStudio/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/DevTools/HackStudio/Makefile b/DevTools/HackStudio/Makefile index c96a770342..728552f7c3 100644 --- a/DevTools/HackStudio/Makefile +++ b/DevTools/HackStudio/Makefile @@ -5,6 +5,7 @@ OBJS = \ TextDocument.o \ TerminalWrapper.o \ FindInFilesWidget.o \ + ProcessStateWidget.o \ main.o APP = HackStudio |