Add pipes to shell, add wc

This commit is contained in:
2026-07-16 21:39:00 +03:00
parent 4ad32dda17
commit 85cfbb2050
17 changed files with 293 additions and 63 deletions
+2 -2
View File
@@ -79,10 +79,10 @@ void kernel_main() {
fs_read(shell_node, 0, shell_node->size, shell_code);
fs_close(shell_node);
process_t *terminal = process_create(kernel, terminal_code, terminal_node->size);
process_t *terminal = process_create(kernel, terminal_code, terminal_node->size, 0, 1);
memory_free(terminal_code);
process_t *shell = process_create(kernel, shell_code, shell_node->size);
process_t *shell = process_create(kernel, shell_code, shell_node->size, 0, 1);
memory_free(shell_code);
uint64_t *terminal_stack = (uint64_t *)terminal->user_stack;