Skip to content

process

@tynd/plugin-process enables the host process API and exposes its typed client. The API itself is documented on the process page.

Terminal window
tynd add process
import { process } from "@tynd/plugin-process/client";

Declaring the plugin compiles the matching api-process Cargo feature into the app host on the next tynd dev or tynd build. Or by hand: bun add @tynd/plugin-process and list it in plugins in tynd.config.ts.

Package @tynd/plugin-process
Kind Host-backed official plugin (facade over a host API)
Host API process
Aliases for tynd add exec, spawn, command
Catalog permission labels host:process, shell
Estimated size 140 KB
Client exports ExecOptions, ExecResult, process, SpawnedProcess, SpawnOptions

process is the broadest host capability. Grant only the commands you need in your capabilities.