summaryrefslogtreecommitdiff
path: root/Kernel/init.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-03-07 00:31:06 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-03-07 00:31:06 +0100
commit9158de6c418b03e4c1ab5dfee8ed48a400afb443 (patch)
treec8efa987962d41043e144140c9a8459ff2f5cbfa /Kernel/init.cpp
parent67ee579113edc2f5963372e04703848c87c89a94 (diff)
downloadserenity-9158de6c418b03e4c1ab5dfee8ed48a400afb443.zip
Begin working on a graphical TextEditor.
It's gonna be a wrapper around a new GTextEditor widget so I can easily reuse the functionality anywhere I need it. :^)
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 a5a1e3350c..b0d38a9c47 100644
--- a/Kernel/init.cpp
+++ b/Kernel/init.cpp
@@ -27,7 +27,8 @@
#define SPAWN_LAUNCHER
//#define SPAWN_GUITEST2
//#define SPAWN_FILE_MANAGER
-#define SPAWN_PROCESS_MANAGER
+//#define SPAWN_PROCESS_MANAGER
+#define SPAWN_TEXT_EDITOR
//#define SPAWN_FONTEDITOR
//#define SPAWN_MULTIPLE_SHELLS
//#define STRESS_TEST_SPAWNING
@@ -102,6 +103,9 @@ VFS* vfs;
#ifdef SPAWN_PROCESS_MANAGER
Process::create_user_process("/bin/ProcessManager", (uid_t)100, (gid_t)100, (pid_t)0, error, { }, { }, tty0);
#endif
+#ifdef SPAWN_TEXT_EDITOR
+ Process::create_user_process("/bin/TextEditor", (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