Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(process): return exit code instead of signal #13

Merged
merged 1 commit into from
Mar 21, 2024

Conversation

pysan3
Copy link
Contributor

@pysan3 pysan3 commented Mar 20, 2024

It looks like the first argument of on_exit is the exit code of the process.

: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`

@rcarriga
Copy link
Contributor

Ah nice thank you!

@rcarriga rcarriga merged commit 7054695 into nvim-neotest:master Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants