Appearance
@loontail/minecraft-kit v0.5.0 / Spawner
Interface: Spawner
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): SpawnedProcessParameters
| Parameter | Type |
|---|---|
command | string |
args | readonly string[] |
options | SpawnOptions |