Appearance
@loontail/minecraft-kit v0.5.0 / SpawnedProcess
Interface: SpawnedProcess
Live handle for a child process.
Properties
| Property | Modifier | Type | Description |
|---|---|---|---|
exited | readonly | Promise<{ code: null | number; signal: null | Signals; }> | Resolves when the process exits with its exit info. |
pid | readonly | number | - |
stderr | readonly | ProcessStream | - |
stdout | readonly | ProcessStream | - |
Methods
kill()
ts
kill(signal?): booleanSend a termination signal. Returns true on success.
Parameters
| Parameter | Type |
|---|---|
signal? | Signals |
Returns
boolean