Appearance
@loontail/minecraft-kit / Spawner
Type Alias: Spawner
ts
type Spawner = {
spawn: SpawnedProcess;
};Defined in: src/types/spawner.ts:44
Pluggable process spawner. The default implementation uses node:child_process; tests inject a fake to avoid spawning real processes.
Methods
spawn()
ts
spawn(
command,
args,
options): SpawnedProcess;Defined in: src/types/spawner.ts:45
Parameters
| Parameter | Type |
|---|---|
command | string |
args | readonly string[] |
options | SpawnOptions |