Skip to content

@loontail/minecraft-kit v0.5.0 / SpawnedProcess

Interface: SpawnedProcess

Live handle for a child process.

Properties

PropertyModifierTypeDescription
exitedreadonlyPromise<{ code: null | number; signal: null | Signals; }>Resolves when the process exits with its exit info.
pidreadonlynumber-
stderrreadonlyProcessStream-
stdoutreadonlyProcessStream-

Methods

kill()

ts
kill(signal?): boolean

Send a termination signal. Returns true on success.

Parameters

ParameterType
signal?Signals

Returns

boolean

Source

src/types/spawner.ts:17

MIT License