Skip to content
1 min read · 149 words

Interface: BinaryExecResult ​

Defined in: src/batteries/media/contracts.ts:154

The settled result of a BinaryExecutor.exec call.

Properties ​

PropertyTypeDescriptionDefined in
exitCodenumberThe process exit code (or -1 when the process failed to start).src/batteries/media/contracts.ts:156
failedbooleantrue when the invocation failed (non-zero exit, spawn failure, timeout, abort).src/batteries/media/contracts.ts:162
signalCode?stringThe signal that terminated the process, when one did. Remarks Omitted on a normal exit, so a consumer must treat absence as "exited on its own". An executor that cannot surface it simply leaves it off.src/batteries/media/contracts.ts:170
stderrstringCaptured standard error.src/batteries/media/contracts.ts:160
stdoutstringCaptured standard output.src/batteries/media/contracts.ts:158