Closed pysan3 closed 6 months ago
It looks like the first argument of on_exit is the exit code of the process.
on_exit
:h uv.spawn()
uv.spawn({path}, {options}, {on_exit}) *uv.spawn()* Parameters: - `path`: `string` - `options`: `table` (see below) - `on_exit`: `callable` - `code`: `integer` - `signal`: `integer`
Ah nice thank you!
It looks like the first argument of
on_exit
is the exit code of the process.:h uv.spawn()