@flowscripter/dynamic-cli-framework
    Preparing search index...

    Type Alias SpawnResult

    SpawnResult:
        | { exitCode: number; ok: true }
        | { error?: Error; exitCode?: number; ok: false }

    Outcome of a SpawnService.spawn call.

    ok is true only when the process launched and exited with code 0. A launch failure (e.g. the binary was not found) sets error with no exitCode; a non-zero exit sets exitCode with no error.