WasiExecOptions
Defined in: packages/runtime/src/wasm/wasi-exec.ts:38
Options for wasiExec.
Properties
Section titled “Properties”args:
string[]
Defined in: packages/runtime/src/wasm/wasi-exec.ts:44
Command-line arguments (argv).
optionalenv?:Record<string,string>
Defined in: packages/runtime/src/wasm/wasi-exec.ts:46
Additional environment variables (merged on top of proc.env).
preopen?
Section titled “preopen?”
optionalpreopen?:string[]
Defined in: packages/runtime/src/wasm/wasi-exec.ts:48
Pre-opened directory paths the program may traverse. Default: ['/'].
proc:
ProcContext
Defined in: packages/runtime/src/wasm/wasi-exec.ts:42
The fishbowl process context (stdin, stdout, stderr, fs, argv, env).
ttyMode?
Section titled “ttyMode?”
optionalttyMode?:TtyMode
Defined in: packages/runtime/src/wasm/wasi-exec.ts:51
TTY mode. When 'raw', enables raw mode on proc.stdin at startup and
restores cooked mode in finally. Default: undefined (no mode change).
wasmModule
Section titled “wasmModule”wasmModule:
WasmModule
Defined in: packages/runtime/src/wasm/wasi-exec.ts:40
Pre-compiled WebAssembly module (WebAssembly.Module).