Skip to content

Function: executeLocalCommandCheck() ​

ts
function executeLocalCommandCheck<THandle>(
   node, 
   _input, 
   ctx
): Promise<CheckEvaluationResult>;

Defined in: node/src/executors/local-command-executors.ts:115

Executes a LocalCommandCheckNode (type: 'node:command-check') as a deterministic check gate.

Returns { ok: true, deficits: [] } when the underlying command exits with code 0, or captures the error message as a deficit when the command fails.

Type Parameters ​

Type ParameterDefault typeDescription
THandleunknownRuntime handle type of the active isolation scope.

Parameters ​

ParameterTypeDescription
nodeLocalCommandCheckNode<THandle>Passive command check AST node.
_inputunknownUnused check input parameter.
ctxStepExecutionContext<THandle>Active step execution context.

Returns ​

Promise<CheckEvaluationResult>

Check evaluation outcome and deficit messages.

Released under the MIT License.