summaryrefslogtreecommitdiff
path: root/applications/init/source/main.cpp
diff options
context:
space:
mode:
authorBenji Dial <benji@benjidial.net>2024-07-31 17:16:21 -0400
committerBenji Dial <benji@benjidial.net>2024-07-31 17:16:21 -0400
commite6915fb6dd715e39e37702a6d69c220c0f1798bf (patch)
tree2e3b59335f70f2725802d254168ceaee85faf891 /applications/init/source/main.cpp
parentb1cf9e5dfbc8967bd7cb2a22ec1e5e521f4e0e6e (diff)
downloadhilbert-os-e6915fb6dd715e39e37702a6d69c220c0f1798bf.tar.gz
remove argc, argv; arguments will be passed via environment variables
Diffstat (limited to 'applications/init/source/main.cpp')
-rw-r--r--applications/init/source/main.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/applications/init/source/main.cpp b/applications/init/source/main.cpp
index c281bc0..66ad260 100644
--- a/applications/init/source/main.cpp
+++ b/applications/init/source/main.cpp
@@ -1,9 +1,6 @@
#include <euler/syscall.hpp>
-//this does not keep track of the processes or whether they have started
-//successfully, nor does it set their argc, argv, stdin, stdout, or stderr.
-
-int main(int, char **) {
+int main() {
euler::syscall::process_handle dummy;
euler::syscall::start_process("/bin/compositor", {}, {}, dummy);
euler::syscall::start_process("/bin/clock", {}, {}, dummy);