Skip to main content

Module process

Module process 

Source
Expand description

Single script subprocess management.

ScriptProcess manages the lifecycle of a single script subprocess, providing piped stdin/stdout/stderr communication. Stdout lines are parsed as JSON ScriptCommand objects, and stderr lines are collected for error reporting.

Structsยง

ScriptProcess
Manages a single script subprocess with JSON-line communication.