Skip to main content

Module shell

Module shell 

Source
Expand description

AhRightOS Shell

A simple command-line shell running as a kernel task. Reads input via SBI console_getchar, executes built-in commands directly via VFS/process APIs, and supports external program execution via fork+exec.

Functions§

shell_main
Shell main loop. Runs as a kernel task — never returns.