Wasm Directoryalpha
Record

create-terminal-request

Parameters to create-terminal.

record create-terminal-request {
  session-id: session-id,
  command: string,
  args: list​<string>,
  env: list​<env-var>,
  cwd: option​<string>,
  output-byte-limit: option​<u64>,
}

Fields

NameTypeDescription
session-idsession-idThe session this terminal belongs to.
commandstringCommand to execute.
argslist​<string>Arguments.
envlist​<env-var>Environment variables.
cwdoption​<string>Working directory (absolute path).
output-byte-limitoption​<u64>Maximum bytes of output to retain. Once exceeded, output is truncated from the start, on a character boundary.