code wiki / (root) / nx_sh.nx

nx_sh.nx

buildroot/runtime/nx_sh.nx

2295 B64 linesdepth 2pulls 2 transitivereach 2 importersview sourcekind librarytopic sh
docsdependenciesstructsconstsfunctions

about

nx_sh.nx -- the sovereign Nishi shell (orchestration primitives), bits-up. Operator 2026-06-02: "no more shells, just pure bits and hardware up nishi -- if that requires us building a shell then lets do it." This is it: fork + exec + wait + redirect, in pure NishiLang over raw syscalls, so our gates / audits / build drivers are Nishi programs, not bash scripts. (External tools we exec -- the compiler, as, ld -- are the toolchain being replaced by nxasm/nxld; this removes BASH from the orchestration layer.) license_tier: ORIGINAL

dependencies 1 imports · 2 importers

nx_syscalls.nx nx_sh.nx nx_sh_race.nx nx_util_gate.nx

imports: nx_syscalls.nx

imported by: nx_sh_race.nxnx_util_gate.nx

structs

none

consts

none

functions

16func nx_sh_argv(a0: *u8, a1: *u8, a2: *u8, a3: *u8, a4: *u8, a5: *u8) -> *i64
called by 2: mainmain calls 1: sys_mmap
25func nx_sh_run(path: *u8, argv: *i64) -> i64
38func nx_sh_run_to(path: *u8, argv: *i64, out_fd: i64) -> i64
52func nx_sh_run_quiet(path: *u8, argv: *i64) -> i64