Rulvar API reference / @rulvar/executor / ChildSpec
Interface: ChildSpec
Defined in: packages/executor/src/child.ts:13
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
args | readonly string[] | - | packages/executor/src/child.ts:15 |
command | string | - | packages/executor/src/child.ts:14 |
cwd | string | - | packages/executor/src/child.ts:23 |
env | Record<string, string> | The child's COMPLETE environment. It replaces the host environment rather than extending it: whatever is not listed here is absent from the child, which is how host credentials in process.env are kept out of the tool. | packages/executor/src/child.ts:22 |
killGraceMs | number | Grace between SIGTERM and the SIGKILL that follows if it ignores it. | packages/executor/src/child.ts:29 |
maxOutputBytes | number | Captured stdout/stderr are each bounded to this many bytes. | packages/executor/src/child.ts:31 |
signal? | AbortSignal | Cancels the child immediately when it fires (run abort, budget, limits). | packages/executor/src/child.ts:33 |
stdinData | string | Written to the child's stdin, which is then closed. | packages/executor/src/child.ts:25 |
timeoutMs | number | Hard wall-clock ceiling; on expiry the child is SIGTERM'd then SIGKILL'd. | packages/executor/src/child.ts:27 |