You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: return python interpreter exit status from pynvim-python #599
Problem: python interpreter exit status is ignored by pynvim-python.
For example:
```console
$ pynvim-python -c 'import sys; sys.exit(5)'; echo $?
0
```
Solution: propagate the exit status from pynvim-python.
Use `sys.exit()` to return the interpreter's exit status as found in `subprocess.run().returncode`:
```console
$ pynvim-python -c 'import sys; sys.exit(5)'; echo $?
5
```
0 commit comments