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.
Click to show internal directories.
Click to hide internal directories.