cli/sh is a MoonBit shell interpreter for native and Wasm targets.It implements command parsing, quoting, variable and positional expansion,conditionals, pipelines, redirections, and essential built-ins in MoonBit.
External commands are launched individually through the MoonBit async processAPI. The active policy evaluates every child process request; the interpreternever delegates a complete script to a host shell.
Unsupported shell language constructs fail closed with status 2 instead ofbeing forwarded to another interpreter.