sh

    sh command for MoonX.

    command-line
    moonx
    wasm
    Download zip
    Author
    Version
    0.1.1
    License
    Apache-2.0
    Last updated
    20 days ago
    Downloads
    20

    Dependencies

    #sh

    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 process API. The active policy evaluates every child process request; the interpreter never delegates a complete script to a host shell.

    Unsupported shell language constructs fail closed with status 2 instead of being forwarded to another interpreter.

    When neither -c nor a script file is supplied, an interactive terminal receives an EOF waiting prompt before the shell reads its script. Piped, redirected, and explicit - input remain silent.

    Source Files

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io