summaryrefslogtreecommitdiff
path: root/Kernel/init.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-02-28 01:43:50 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-02-28 01:43:50 +0100
commit166aadc4e1ac8260ebbfab6a3c6b48342e04680e (patch)
tree71652394099558fdee8a86a89c331f8810a3f8d0 /Kernel/init.cpp
parentdda9b9ab1bcd778a0990d8c73746e1d3e9c9e2f0 (diff)
downloadserenity-166aadc4e1ac8260ebbfab6a3c6b48342e04680e.zip
ProcessManager: Start working on a graphical process manager.
I need a table view widget for this thing, so I'm also using this to prototype a model/view thingy.
Diffstat (limited to 'Kernel/init.cpp')
-rw-r--r--Kernel/init.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/Kernel/init.cpp b/Kernel/init.cpp
index bbabc84acf..a5a1e3350c 100644
--- a/Kernel/init.cpp
+++ b/Kernel/init.cpp
@@ -26,7 +26,8 @@
#define SPAWN_LAUNCHER
//#define SPAWN_GUITEST2
-#define SPAWN_FILE_MANAGER
+//#define SPAWN_FILE_MANAGER
+#define SPAWN_PROCESS_MANAGER
//#define SPAWN_FONTEDITOR
//#define SPAWN_MULTIPLE_SHELLS
//#define STRESS_TEST_SPAWNING
@@ -98,6 +99,9 @@ VFS* vfs;
#ifdef SPAWN_FILE_MANAGER
Process::create_user_process("/bin/FileManager", (uid_t)100, (gid_t)100, (pid_t)0, error, { }, { }, tty0);
#endif
+#ifdef SPAWN_PROCESS_MANAGER
+ Process::create_user_process("/bin/ProcessManager", (uid_t)100, (gid_t)100, (pid_t)0, error, { }, { }, tty0);
+#endif
#ifdef SPAWN_FONTEDITOR
Process::create_user_process("/bin/FontEditor", (uid_t)100, (gid_t)100, (pid_t)0, error, { }, move(environment), tty0);
#endif