light-process
API referenceInterfaces

RunNodeOptions

Defined in: src/runner/Execution.ts:14

Properties

env?

optional env?: Record<string, string>;

Defined in: src/runner/Execution.ts:29

Extra literal env merged on top of the node's resolved env names. The executor passes node.providesEnv here with ${service:id} placeholders already resolved to service container hostnames. Wins over name-resolved values on key collision.


networks?

optional networks?: string[];

Defined in: src/runner/Execution.ts:22

Resolved networks for this run, overriding node.networks. The executor passes this after mapping run-scoped aliases to their real Docker names (lp-<runId>-<alias>). When omitted, node.networks is used as-is.


onLog?

optional onLog?: (log) => void;

Defined in: src/runner/Execution.ts:16

Parameters

log

string

Returns

void


signal?

optional signal?: AbortSignal;

Defined in: src/runner/Execution.ts:15

On this page