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.).
Parameters
Section titled “Parameters”command
Section titled “command”string
string[]
Returns
Section titled “Returns”string | null