Add subprocesses and convert terminal to an app

This commit is contained in:
Freywar Ulvnaudgari
2026-06-17 18:20:14 +03:00
parent ce47817244
commit b38154d468
28 changed files with 490 additions and 247 deletions
+13
View File
@@ -0,0 +1,13 @@
#include "src/lib/string.h"
#include "src/user/syscall.h"
int main(uint64_t argc, const char **argv) {
for (uint64_t i = 1; i < argc; i++) {
if (i > 1) {
write(1, " ", 1);
}
write(1, argv[i], string_length(argv[i]));
}
write(1, "\n", 1);
return 0;
}