Skip to content

RunCommand

RunCommand = (command, args) => string | null

Defined in: packages/core/src/observe/git.ts:10

Runs a command and returns stdout as a string, or null on failure. Each runtime provides its own implementation (Bun.spawnSync, execSync, etc.).

string

string[]

string | null