ExecAdapter
Defined in: src/core/adapters.ts:81
Adapter interface for process execution
Abstracts process spawning across Node.js, Deno, and Bun.
Methods
getCapabilities()
getCapabilities():
Capabilities
Defined in: src/core/adapters.ts:85
Get the capabilities of this runtime
Returns
spawn()
spawn(
options,handlers?):Promise<SpawnResult>
Defined in: src/core/adapters.ts:94
Spawn a process and wait for completion
Parameters
options
Spawn options
handlers?
Optional stream handlers for real-time output
Returns
Promise<SpawnResult>
Promise resolving to spawn result
spawnStreaming()?
optionalspawnStreaming(options):SpawnHandle
Defined in: src/core/adapters.ts:102
Spawn a process with streaming support
Parameters
options
Spawn options
Returns
Handle to the spawned process