nvim_runtime_lua

uv.uv_process_t

uv_process_t - Process handle

[uv_handle_t][] functions also apply.

Process handles will spawn a new process and allow the user to control it and establish communication channels with it using streams.

Methods2

function uv_process_t.kill(signame: nil | string | integer) -> (success 0 | nil, err nil | string, err_name uv.error_name | nil)

Sends the specified signal to the given process handle. Check the documentation on uv_signal_t for signal support, specially on Windows.

See [Constants][] for supported signame input values.

function uv_process_t.get_pid() -> integer

Returns the handle's pid.