summaryrefslogtreecommitdiff
path: root/Kernel/init.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-02-09 09:22:04 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-02-09 09:22:04 +0100
commit4d5fe394941e4edab53b84b89a9647d99a5b4abf (patch)
tree36618df394ba3064d7821a0a0558ca3d26bbd862 /Kernel/init.cpp
parent8ae7be611adee9bd1bb80fb8cbcce70007f38d47 (diff)
downloadserenity-4d5fe394941e4edab53b84b89a9647d99a5b4abf.zip
FileManager: Start building a file manager.
Diffstat (limited to 'Kernel/init.cpp')
-rw-r--r--Kernel/init.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Kernel/init.cpp b/Kernel/init.cpp
index a92b9a02e5..a43746103b 100644
--- a/Kernel/init.cpp
+++ b/Kernel/init.cpp
@@ -29,6 +29,7 @@
#define SPAWN_LAUNCHER
//#define SPAWN_GUITEST2
#define SPAWN_CLOCK
+#define SPAWN_FILE_MANAGER
//#define SPAWN_FONTEDITOR
//#define SPAWN_MULTIPLE_SHELLS
//#define STRESS_TEST_SPAWNING
@@ -120,6 +121,9 @@ static void init_stage2()
#ifdef SPAWN_CLOCK
Process::create_user_process("/bin/Clock", (uid_t)100, (gid_t)100, (pid_t)0, error, { }, move(environment), tty0);
#endif
+#ifdef SPAWN_FILE_MANAGER
+ Process::create_user_process("/bin/FileManager", (uid_t)100, (gid_t)100, (pid_t)0, error, { }, move(environment), 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