guest-sh

command
v0.1.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Overview

guest-sh is a bash-compatible interpreter built for GOOS=wasip1.

A script is the primitive, the interpreter ships with the runner, and every external command the script names is handed to the host instead of being started here. This program cannot start a process: the target has no such call.

Wire: one JSON object per line. The host sends {"script": ...} first. The guest sends {"method":"exec"|"return", ...} and reads one reply per exec.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL