NodeExecAdapter
Defined in: src/adapters/node/exec.ts:39
Adapter interface for process execution
Abstracts process spawning across Node.js, Deno, and Bun.
Implements
Constructors
Constructor
new NodeExecAdapter():
NodeExecAdapter
Returns
NodeExecAdapter
Methods
getCapabilities()
getCapabilities():
Capabilities
Defined in: src/adapters/node/exec.ts:40
Get the capabilities of this runtime
Returns
Implementation of
spawn()
spawn(
options,handlers?):Promise<SpawnResult>
Defined in: src/adapters/node/exec.ts:51
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
Implementation of
spawnStreaming()
spawnStreaming(
options):SpawnHandle
Defined in: src/adapters/node/exec.ts:118
Spawn a process with streaming support
Parameters
options
Spawn options
Returns
Handle to the spawned process